Errors
As we saw in the API basics page, you can receive 3 types of errors from us:
- those due to our servers (
5xx
error messages) - those due to authentication errors (
401
error message) - those due to the format of the payload sent (
4xx
error messages other than401
)
Let's get into the details of what these errors mean 🔮
Server errors​
When you are experimenting with a server error (5xx
error messages), please send us an email at support@hikoala.co.
We will come back to you as soon as possible by email or with options to plan a call. Be certain that we will proactively warn you as soon as the situation is fixed.
Authentication errors​
When you are experimenting with an authentication error (401
error message), please refer to our dedicated
API basics page.
Payload errors​
When you are experimenting with a payload error (4xx
error messages), it can be mainly for 3 reasons:
- Your payload reached one of our purchase limitations
- You made an error with the data format inside your payload
- You made a mistake when turning a Quote into a Subscription
Error examples with purchase limitations reached​
Those are examples of purchase limitations:
- Airline forbidden inside the payload
- Airport forbidden inside the payload
- Connecting Time too short to be covered
- Purchase limit time reached
- Too much flights inside one payload
- Etc.
Error examples with wrong data format​
Those are examples of error in the data format of the payload:
- Error in the data given (unknown airport, unknown currency, etc...)
- Flights are not connected between each other
- No flights inside a
Journeys
payload - Etc.
Error examples with mistakes when turning a Quote into a Subscription​
Those are examples of mistakes made between the Quotes and the Subscriptions:
- Booking number already used
- Number of travelers different between the Quote you made and the Subscription you are making
- Wrong Quote Reference used for the Subscription
- Etc.