Guides
Error Reference
Standard HTTP status codes and error envelopes
DataGuru uses conventional HTTP response codes to indicate the success or failure of an API request. Codes in the 2xx range indicate success, 4xx indicate client error, and 5xx indicate server errors.
HTTP Status Codes & Errors
DataGuru uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided, and codes in the 5xx range indicate an error with our servers.
Standard Error Envelope
When an error occurs, the API returns a JSON envelope containing a machine-readable code and a human-readable message.
Error Response Structure
json
{ "success": false, "error": { "code": "RATE_LIMITED", "message": "Too many requests. Please retry after 60 seconds.", "retry_after": 60 } }
Error Code Reference
Standard Error Codes
| Status | Code | Description |
|---|---|---|
| 200 | OK | Everything worked as expected. |
| 400 | BAD_REQUEST | The request was unacceptable, often due to missing a required parameter. |
| 401 | UNAUTHORIZED | No valid API key provided. |
| 402 | INSUFFICIENT_BALANCE | Insufficient balance in your USD wallet to execute this endpoint. |
| 403 | FORBIDDEN | The API key doesn't have permissions to perform the request. |
| 404 | NOT_FOUND | The requested resource doesn't exist. |
| 409 | CONFLICT | The request conflicts with another request. |
| 429 | RATE_LIMITED | Too many requests hit the API too quickly. |
| 500 | INTERNAL_ERROR | Something went wrong on DataGuru's end. |
| 503 | UPSTREAM_ERROR | The target platform is down or unreachable. |