Error Responses

All API requests return HTTP status codes that can tell you more about the response.

401 Unauthorized

The client doesn't have proper authentication headers.

{
  "message": "Unauthorized."
}

402 Payment Required

The account doesn't have a valid subscription or has overdue payments.

{
  "message": "Payment Required."
}

403 Forbidden

The requested resource is not accessible.

{
  "message": "Forbidden."
}

404 Not Found

The requested resource was not found.

{
  "message": "Not found."
}

422 Unprocessable Entity

The request body contains semantic errors. This is typically caused by incorrect formatting, omitting required fields, or logical errors.

{
  "message": "The given data was invalid."
  "errors": {
    ...
  }
}

429 Too Many Requests

The client has exceeded the API rate limit.

{
  "message": "Too many requests."
}

5xx Errors

An internal error occurred in FleetRunnr. Contact support for more information.

{
  "message": "Internal server error."
}