DATE:
AUTHOR:
The Duffel team

We now return new HTTP status codes for retry-able errors

DATE:
AUTHOR: The Duffel team

We have made some improvements when handling airline originated errors. These improvements group HTTP 5xx errors into two categories: retryable and not retryable.

Here are our updated error codes and their meaning:

image.png

While a HTTP 502 or 503 status code could potentially be returned by Duffel's infrastructure, Duffel’s API will always return a code, message and type as part of any API error.

Please refer to Duffel's documentation for more information about errors. If you have any questions, please reach out to us via help@duffel.com

Powered by LaunchNotes