Error Codes

Otonomo uses HTTP response codes to indicate the completion status of an API call.
There are three main groups of response codes:

  1. 2xx success response codes: indicate a successful API call. May also indicate a call for which no new data exists.
  2. 4xx error status codes indicate an error related to the information provided on the API call (e.g., a required parameter is missing)
  3. 5xx error status codes indicate Otonomo server errors.

Error code table:

Response codePossible reasons
2001. The API call is successful
2. If no data is returned, then one or more mandatory attributes are not available
204No new data is available
400Bad request. This error is likely the result of a wrong or missing parameter on an API call. This response code usually includes a body header that indicates the bad parameter (key) and its related issue (value).
401User credentials or token are not valid. May also result from a lack of driver consent on the OEM side. e.g. when a driver has revoked consent directly on the OEM portal.
403User is not authorized to query the requested resource. May also result from lack of consent on the OEM side. e.g. when a driver has revoked consent directly on the OEM portal.
404Bad URL. The resource pointed by the URL does not exist.
429Too many requests. This error is issued when the user has exceeded the API rate limitations. It may also originate from a rate limitation on the data provider side.
500Internal server error.