Skip to main content

Error responses

Most JSON error responses include an error string and may include a message with additional detail:
Some validation endpoints return an errors array instead:
Some authorization failures return 403 Forbidden with an empty response body. Check the HTTP status code first, then parse the response body when one is present.

Common status codes

  • 400: The request was invalid or malformed.
  • 401: Unauthorized - Missing or invalid authentication.
  • 403: Forbidden - You don’t have permission, required feature access, or remaining quota for the requested operation.
  • 404: Resource not found.
  • 429: Rate limit or account quota exceeded.
  • 500: Unexpected error while processing the request.

Examples

401 Unauthorized

400 Bad Request

429 Too Many Requests

Request rate limits return rate-limit headers and a plain text body:
Account quota limits return JSON:
See Rate Limits for details on rate limit headers and retry timing.