# Errors

Errors are JSON with a stable `code`:

```json
{ "error": { "code": "too_heavy", "message": "...", "requestId": "req_..." } }
```

| Status | Code | Meaning | Retry? |
| --- | --- | --- | --- |
| 400 | `bad_command`, `bad_path`, `read_only_path`, `bad_network`, `bad_count` | The request is wrong | No |
| 401 | `unauthorized` | Missing or invalid key | No |
| 403 | `session_required` | Key management needs a dashboard session | No |
| 404 | `sandbox_not_found`, `checkpoint_not_found` | Not found, or not yours | No |
| 409 | `checkpoint_pending` | That checkpoint is still being written | Yes, shortly |
| 410 | `checkpoint_gone` | That checkpoint is past retention | No |
| 413 | `too_large` | Body, file or export too large | No |
| 422 | `too_heavy` | The command looks CPU-heavy; see [Commands](/docs/commands/#heavy-commands) | With `"heavy": "try"` |
| 429 | `rate_limited`, `too_many_sandboxes` | Over a limit | Yes, after a pause |
| 503 | `engine_unavailable` | The sandbox's host is restarting | Yes |
