API errors
Read a problem
HTTP JSON errors use application/problem+json (RFC 9457). type links here. title and detail explain the problem. code is stable for branching. status matches the HTTP status. request_id matches X-Request-Id. Existing error and ok fields remain for older clients. OAuth token errors also return the standard error and error_description fields. MCP keeps its JSON-RPC error fields and tool errors; SSE keeps its streamed errors.
{"type":"https://agentsready.dev/docs/errors#invalid_domain","title":"Bad request","status":400,"detail":"Enter a domain, like yourcompany.com","code":"invalid_domain","request_id":"<request ID>"}What to do next
400: fix the input. 401: replace an invalid or expired token, or sign in for account controls. 403: approve the correct OAuth resource, or check the required plan. 409: the request was already answered or the key delivered; start again if needed. 410: the request expired; start again. 429: wait for Retry-After before retrying. 503: try later. Include X-Request-Id when reporting an error.