Skip to content
alpha
Sign in

Errors

Error body

Every error returns a JSON body with the same three fields:

{
"error": "Your tools are still being indexed. You will receive an email when they are ready.",
"code": "CONFLICT",
"details": {}
}
  • error: the message.
  • code: set by the status.
  • details: extra fields on 413, 422 and 429 errors. Empty otherwise.

Fields that are missing or fail validation are listed in details.errors:

{
"error": "query_id must be a UUID",
"code": "VALIDATION_ERROR",
"details": {
"errors": [
{"field": "body.query_id", "message": "query_id must be a UUID"}
]
}
}

Status codes

  • 400 BAD_REQUEST: a pagination cursor or MCP request couldn’t be read.
  • 401 AUTHENTICATION_ERROR: the API key is missing or unknown.
  • 404 NOT_FOUND: a path or request object doesn’t exist.
  • 405 METHOD_NOT_ALLOWED: wrong method.
  • 409 CONFLICT: a query was sent to an organization that has no tools yet or whose tools are still being indexed.
  • 413 PAYLOAD_TOO_LARGE: the body is over 1 MB.
  • 422 VALIDATION_ERROR: a field is missing, empty, or has an invalid value.
  • 429 RATE_LIMIT_EXCEEDED: see Rate limits.
  • 500 INTERNAL_ERROR: send the request again later.
  • 503 SERVICE_UNAVAILABLE: send the request again in a few minutes.