Skip to content

What to expect from us

Doppio uses standard HTTP response codes so our API responses stay easy to understand. The table below explains what each status code means:

Status codeMeaningDescription
200OKThe request succeeded.
400Bad RequestThe server cannot or will not process the request because of an apparent client error, such as malformed request syntax or a payload that is too large.
401UnauthorizedNo valid API key provided.
403ForbiddenYour subscription is inactive, or it does not include the requested functionality.
404Not FoundThe requested resource does not exist.
413Payload Too LargeThe request body is too large. Contact support if you need help.
422Unprocessable EntityThe total number of requests exceeds your subscription limits.
429Too Many RequestsToo many requests were sent to the server in a short period of time.
5xxServer ErrorAn error occurred on Doppio's server.

Error Response

If a request is not successful, our API returns a JSON payload with three fields: statusCode, message, and error, as shown below:

json
{
    "statusCode": 400,
    "message": [
        "page.goto.url must be an URL address"
    ],
    "error": "Bad Request"
}

statusCode and error match the values shown in the table above. When available, message provides more details about the error. A single statusCode can include several validation messages. Here are a few examples of messages you might receive for a Bad Request error:

  • page.goto.url must be an URL address
  • page.setContent.html must be base64 encoded
  • Unexpected token } in JSON at position 96

All rights reserved