Standard HTTP Status Codes#
| Status Code | Meaning | Common Causes |
|---|
| 200 | Success | Request completed successfully |
| 400 | Bad Request | Invalid request format, missing required fields |
| 401 | Unauthorized | Invalid or expired access token |
| 403 | Forbidden | Insufficient permissions for the requested resource |
| 404 | Not Found | Resource does not exist |
| 429 | Too Many Requests | Rate limit exceeded for your account or source IP |
| 500 | Internal Server Error | Server-side error |
Errors use the same envelope as successful responses. code is the HTTP status, message describes the problem and data is null unless the error carries details.{
"code": 401,
"message": "Invalid or expired token",
"data": null,
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-04-03T12:34:56.789Z"
}
Validation errors (400) return "message": "Validation failed" and list each problem in data:{
"code": 400,
"message": "Validation failed",
"data": ["email must be an email"],
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-04-03T12:34:56.789Z"
}
Some errors also include an error_code field: a machine-readable string you can branch on instead of matching the message text.Handling Common Errors#
401 Unauthorized - Token Expired#
400 Bad Request - Validation Errors#
403 Forbidden - Insufficient Permissions#
429 Too Many Requests - Rate Limit Exceeded#
Rate limits are applied per billing account and per source IP address, using a fixed one minute window. Authenticated responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset so you can track your usage without waiting for an error.The 429 body is the standard error envelope. The time to resume is in the response headers, not the body: X-RateLimit-Reset (a Unix timestamp in seconds) when your account limit is exceeded, or Retry-After (seconds to wait) when the source IP limit is exceeded.The account limit is shared across every user and integration under your billing account, so running additional workers in parallel will not increase your throughput.See Rate Limits for full details.Retry Logic for 5xx Errors#
Modified at 2026-11-26 12:44:39