Error Handling

All API endpoints may return the following error codes:

400

400- Bad Request. Something was wrong with data provided in the request. The response includes a JSON object with more data on the error.

{
    "code":"general.badRequest","message":"Invalid date: GrpcDate(2020,3,128)"
}

Possible codes:

  • general.badRequest - Invalid data format in request

  • general.notFound - The ID of the provided entity was not found

401

401- Unauthorized. The token provided in the Authorization header is invalid or has expired. The response includes a JSON object with more data on the error.

{
    "code":"auth.tokenNotFound"
}

Possible codes:

  • auth.tokenNotFound

  • auth.tokenExpired

  • auth.tokenInvalid

  • auth.tokenRequired

500

500- Internal Server Error. Something nasty is going on our side. Please send a message to [email protected], and be sure to include both the Request and Response data. We’ll get back to you soon.

Last updated