Error codes
Error codes and HTTP statuses that the inspector.rest ingest endpoint and MCP server return, with their messages.
The ingest API, the MCP server and the other services use the same error body:
{ "error": { "code": "quota_exceeded", "message": "…", "hint": "…" } }hint tells the caller what to do next. MCP tools return the same object with isError: true.
Ingest and general
| Code | HTTP status | Message |
|---|---|---|
invalid_key | 401 | The ingest key is invalid or revoked. |
organization_suspended | 403 | This organization is suspended. |
quota_exceeded | 429 | The monthly request limit of the plan is reached. New requests are not recorded until the period resets or the plan is upgraded. |
payload_too_large | 413 | The request body is too large. Split it into smaller batches. |
unsupported_media_type | 415 | Send the body as application/json. |
disk_full | 503 | The storage server is out of disk space. |
service_unavailable | 503 | The service is temporarily unavailable. |
internal_error | 500 | Something went wrong on our side. |
validation_failed | 400 | The request did not pass validation. |
invalid_json | 400 | The request body is not valid JSON. |
rate_limited | 429 | Too many requests. Try again later. |
MCP and queries
| Code | HTTP status | Message |
|---|---|---|
invalid_token | 401 | The access token is invalid, expired or revoked. |
forbidden | 403 | You do not have permission to do this. |
scope_denied | 403 | This connection cannot access that environment. |
tool_disabled | 403 | This tool is turned off for this connection. |
environment_ambiguous | 400 | Specify the environment. |
not_found | 404 | Not found. |
unknown_filter | 400 | Unknown filter or parameter. |
invalid_cursor | 400 | The cursor is not valid. Start again without a cursor. |
invalid_regex | 400 | The regular expression is not valid. |
binary_body | 409 | This body is binary. Download it instead of reading it as text. |
body_not_captured | 404 | This body was not captured. |
upstream_unavailable | 502 | The data server could not be reached. |
bad_gateway | 502 | An upstream service failed. |