Skip to content

Error running code on Vercel edge environment #531

Open
@olefirenko

Description

@olefirenko

I got this error when running the code on Vercel edge:


SandboxError: 2: [unknown] Invalid redirect value, must be one of "follow" or "manual" ("error" won't be implemented since it does not make sense at the edge; use "manual" and check the response status code).
    at (node_modules/e2b/dist/index.mjs:319:15)
    at (node_modules/e2b/dist/index.mjs:1421:14)
    at (node_modules/e2b/dist/index.mjs:32:29) {
  name: 'SandboxError'
}

When I run the code locally it works fine, no issues. The code is creating the Word docx file and then I am trying to download it.

The library version is 1.0.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions