Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: Sandbox create fails from template, but succeeds without template #1130

@FilippTrigub

Description

@FilippTrigub

Sandbox ID or Build ID

No response

Environment

The sandbox gets created and visible in the dashboard, but is not returned.

After ~ 6 minutes, the timeout occurs.

The sandbox then also disappears from the dashboard.

Template id: z7tyb6i4hmtb3naudlyn or 2yox54uqm1m3qjfm7obj

Failed to create VM: Error [NotFoundError]: Sandbox is probably not running anymore
at async E2BClient.createSandbox (lib/e2b/client.ts:80:19)
at async E2BVMManager.createVM (lib/e2b/vm-manager.ts:105:40)
at async POST (app/api/e2b/create/route.ts:46:16)
78 | // metadata: config?.metadata,
79 | // })

80 | sandbox = await Sandbox.create(templateId, {
| ^
81 | timeoutMs: config?.timeout,
82 | metadata: config?.metadata,
83 | })

Timestamp of the issue

2026-02-13 10:44 UTC+1

Frequency

Happens every time

Expected behavior

Sandbox should start up.

Actual behavior

Sandbox creation fails.

Issue reproduction

run

await Sandbox.create(templateId, {
timeoutMs: config?.timeout,
metadata: config?.metadata,
})

with the tempalte ids

The templates are simply:

cpu: 1,
memory: 1024,

and

cpu: 2,
memory: 2048,

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions