Skip to content
Last updated

In addition to HTTP status codes, the API may return error codes in the response body.
These codes provide more granular information about what went wrong, even when the HTTP response itself is successful (2xx).

Clients should inspect the response body for these codes to correctly handle errors programmatically.


Error codes reference

CodeDescription
dataset_limit_exceededThe dataset is at or above the maximum allowed size.
duplicate_recordResource already exists or violates the uniqueness constraint.
forbiddenAuthenticated but not allowed to perform the action.
internal_errorUnhandled server error.
invalid_api_keyThe API key provided is incorrect or expired.
invalid_field_valueField present, but value is invalid or out of bounds.
invalid_jsonMalformed or non-parseable JSON.
invalid_inputGeneric invalid data or format.
method_not_allowedHTTP method is not allowed on this endpoint.
missing_required_fieldA required parameter or field was omitted.
not_foundThe requested resource doesn't exist.
processing_failedData ingestion accepted, but internal processing failed.
rate_limitedRequest rejected due to exceeding rate limits.
request_too_largeBody/payload exceeds allowed size.
schema_mismatchData doesn't match the expected schema or types.
service_unavailableTemporary outage or maintenance.
too_many_errorsThe request failed due to excessive per-record errors.
unsupported_media_typeContent type not supported (e.g., not JSON).

Handling errors

  • Check the code field to implement programmatic handling.
  • Validate inputs before submitting to avoid invalid_input or invalid_field_value.
  • Handle rate limits (rate_limited) with retries and exponential backoff.
  • Expect schema evolution and handle schema_mismatch errors gracefully.
  • Log and alert on internal_error or service_unavailable for visibility.