# Errors

Each v1 API error explains what needs to be fixed. AI assistants receive the same message as an MCP tool result.

```json
{"status": 400, "error": "BAD_REQUEST", "message": "lightSource must be an integer between 0 and 15, or null to remove it", "requestId": "req_...", "timestamp": "..."}
```

Provide the `requestId` to support if an error seems abnormal.

| Code | Meaning | Example message | Action |
|---|---|---|---|
| `400` | Invalid request | `Unknown field(s): color. Allowed: name, modelType, ...` | Fix the request body |
| `401` | No key, or invalid/expired/revoked key | `Invalid, expired or revoked API key` | Check the header, create a new key |
| `403` | Insufficient scope or role | `This API key lacks the 'write' scope` ; `The key owner needs the MANAGER role (or higher) in this project` | Use a broader key or request the role |
| `404` | Not found, or out of key scope | `Project ... not found in this API key's organization` | Verify the ID with `get_context` or `/tree` |
| `409` | Conflict with project state | `Directory ... holds FURNITURE assets, not CUSTOM_BLOCK` ; `... is a BEDROCK project: Java endpoints do not apply` | Use the correct folder or route family |
| `503` | Feature disabled | `Nexo is currently disabled. It will be re-enabled soon.` | Try again later |
| `500` | Unexpected error | `Unexpected server error` | Contact support with the `requestId` |

> **Note:** An element from another organization returns `404`, never `403`: the API does not reveal what the key cannot see.

## Next steps

- [The API](/automate/the-api)
- [Permissions](/reference/permissions)
