Search code examples
amadeus

Why am I getting alternating data from the Flight Cheapest Date Search endpoint?


When sending GET requests to the Test API for Flight Cheapest Date Search with Postman, I seem to be getting two different result sets on repeated requests.

GET https://test.api.amadeus.com/v1/shopping/flight-dates?origin=ATL&destination=SFO

E.g., for a search for the connection ATL-SFO which is listed here, I'm getting, alternatingly, 404 errors ("no price result found") on one request and a full 390 KB list of results with the warning "maximum response size reached" on the next request. Even for pairs that are supposedly not supported like LAX-SFO, I'm getting alternatingly 500-errors and a full, sorted list of flights.

Is this documented behavior and is there something I can do on my side to get consistent results?


Solution

  • Thanks for raising the issue. We had an issue with one of the node used for this API. This has been fixed and should work properly now.