Skip to main content

Error Codes

Error responses and status codes for the Sandbox API

When a call fails, the error response looks like this:
{
  "code": 100004,
  "message": "Missing parameter",
  "requestID": "request-id"
}
Common HTTP status codes:
HTTP statusDescription
400Missing parameter, malformed format, or value out of range
401Invalid API Key
404Template or instance not found
409The current resource state does not allow this operation
415File type not supported, or the request body is not multipart/form-data
500Internal service error
501Not supported in the current version
File errors:
CodeHTTP statusDescription
100005400source only supports sandbox_template
11900001500File upload failed
11900006404File not found
11900007403File is not downloadable
11900008413File exceeds the size limit
11900014415File type not allowed
11900019415Unsupported video format
11900023404File does not exist or is being validated and is temporarily unavailable
11900024400File is not a sandbox template source
RequestEntityTooLarge413Multipart request body exceeds 50 MB
For E2B-compatible endpoints, the error structure stays close to the native E2B definitions; see the official E2B documentation for details.