Skip to content

Error handling

Our API returns standard HTTP success or error status codes.

If we can, we’ll also include extra information about what went wrong in the response as JSON. The various HTTP status codes are:

CodeTitleDescription
200OKThe request succeeded.
201OKThe request succeeded.
204OKThe request has succeeded - No content (only relevant for the stop session API endpoint.
400Bad RequestThe request was bad.
401UnauthorizedYou’re not allowed to do that. Make sure your bearer token is correct.
404Not FoundThat location, image or organization doesn’t seem to exist.
409Container ID has been usedThe Container ID has already been used. Try a different one. (We recommend using a UUID.)
420Session not startedWe can’t start the session. Usually, this is because there have been too many sessions in a short period. Try again in a minute or so.
422Bad RequestInvalid data provided.
500Internal Server ErrorOur API has hit an error.
503Service UnavailableOur API has hit an error - unable to forward a request to an internal service.
504Gateway TimeoutWe couldn’t reach one of our internal services.