Skip to main content

Getting Started

Global errors

This page lists global request-level errors that may occur when using the Data API. Operation-specific errors are documented on their respective API pages.

Common

invalidRequestBody


{
  "status": "error",
  "error": {
    "errorType": "invalidRequestBody",
    "message": "The request body is invalid: {validation_details}."
  }
}
💡
Review the API documentation for the correct request body schema. Ensure all required fields are present and their values match the specified format and constraints.

insufficientCredits


{
  "status": "error",
  "error": {
    "errorType": "insufficientCredits",
    "message": "You have no remaining credits for using Data API."
  }
}
💡
Purchase additional Data API credits on the platform to continue using the service.

Authorization

dataApiTokenRequired


{
  "status": "error",
  "error": {
    "errorType": "dataApiTokenRequired",
    "message": "Data API token is missing in request headers."
  }
}
💡
Add data-api-token header to your request, as described on the authorization page.

invalidDataApiToken


{
  "status": "error",
  "error": {
    "errorType": "invalidDataApiToken",
    "message": "The provided data-api-token is invalid."
  }
}
💡
Check your current data-api-token on the platform and make sure you're using the correct one.