Skip to navigation

Common error responses

Understand the error codes and responses returned by the Itinerary API.

We always respond to request failures with an HTTP status code and appropriate error details in the response body. This allows your application to programmatically resolve errors and provide inline error messaging within your application when appropriate.

Error response format

{
"code": 400,
"status": "error",
"messages": [
"Bad Request: tripId is not found or has incorrect format."
]
}

Common error codes

Status CodeDescription
400Bad Request — The request was malformed or a required parameter is missing/invalid.
401Unauthorized — Authentication failed or the access token is expired.
403Forbidden — The API is disabled for the consumer.
404Not Found — The requested resource was not found.
500Server Error — An internal server error occurred.