https://linen.dev logo
Code interpreter Failing
# 🖥│support-forum
j
I noticed all requests to codeinterpreter started failing this morning. The error responses look like this
Copy code
{
  "successfull": false,
  "error": "SandboxBase.__init__() missing 5 required positional arguments: 'sandbox_id', 'envd_version', 'envd_access_token', 'sandbox_domain', and 'connection_config'",
  "data": {},
  "logs": [
    {
      "extras": null,
      "level": "ERROR",
      "message": "Error executing `CREATE_SANDBOX`: Traceback (most recent call last):\n  File \"/var/task/mercury/tools/api/tool.py\", line 229, in execute\n    response = instance.execute(request=request, metadata=metadata)\n  File \"/mnt/efs/default/codeinterpreter/actions/create_sandbox.py\", line 41, in execute\n    ci = Sandbox()\n  File \"/var/lang/lib/python3.10/site-packages/e2b/sandbox_sync/main.py\", line 92, in __init__\n    super().__init__(**opts)\nTypeError: SandboxBase.__init__() missing 5 required positional arguments: 'sandbox_id', 'envd_version', 'envd_access_token', 'sandbox_domain', and 'connection_config'\n",
      "requestId": "1273cfb3645846778057680c2b948e0c",
      "time": "2025-11-19T14:10:21.716020+00:00",
      "type": "system"
    }
  ],
  "version": "00000000_00",
  "auth_refresh_required": false,
  "successful": false
}
a
+1 seeing this error as well, was there a change to the to the sandbox create function, but the pydantic model wasnt changed?
Have confirmed that its working on your sandbox/playground, so it looks like it might just be an issue in your python sdk
b
Hey, really sorry for this. It was a temporary issue which is fixed now. Can you retry now? Pass version=latest.
a
is that for the python sdk?
for version=latest
b
Yes
a
intial testing right now its still not working
going to try and set it to an older version
wait now it looks like its just working