Skip to content
On this page

What to expect from us

Doppio uses conventional HTTP response codes to be sure everyone can understand the responses returned by our API. The meaning of these codes is explained in the following table:

Status codeMeaningDescription
200OKSuccessful request, everything worked well.
400Bad RequestThe server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, size too large...).
401UnauthorizedNo valid API key provided.
403ForbiddenInactive subscription or subcription that does not include the requested functionnality.
404Not FoundThe requested resource doesn't exist.
413Payload Too LargeThe body you sent is too big - ask support.
422Unprocessable EntityThe total number of requests exceeds your subscription model.
429Too Many RequestsToo many requests have been sent to the server in a short amount of time.
5xxServer ErrorAn error occured on Doppio's server.

Error Response

If a request is not successful, our API returns a JSON containing 3 fields: statusCode message and error as following:

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

statusCode and error are the same as in the table above. message contains more details of the error if available. There can be several errors for the same statusCode. Here are a few examples of messages you could find 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