0
votes

Get request for Flight Low-fare Search API (for example: https://test.api.amadeus.com/v1/shopping/flight-offers?origin=NYC&destination=MAD&departureDate=2019-11-11&max=2) always return 500 error:

{
  "errors": [
    {
      "code": "38189",
      "title": "Internal error",
      "detail": "An internal error occurred, please contact your administrator",
      "status": "500"
    }
  ]
}

Something changed in API? How can I fix this?

Flight Low-fare Search API - returns 500 error

2
Unfortunately that example request is not reproducible for us, as it requires an Authorization header. This may simply be a temporary error on their side. Have you tried to contact Amadeus support? - Matt Evans
Yes, I've sent message to support, but unfortunately they haven't answer. - Dmitriy Grigoryev
The API is down for the moment, the engineering team is working on it to fix it ASAP. Sorry for the inconvenience. I will update this when it is fixed. - Anthony Roux

2 Answers

0
votes

I realized that the API version has changed. In the test dashboard provided, some endpoints like flight offers have the version to be 2 and also some of the parameters have changed. origin is now originLocationCode and destination is destinationLocationCode. I use the Node SDK and it makes the call to version 1 and this brings up the internal server error. This doesn't provide a solution but it will be great if there is a way to specify the API version.

0
votes

Flight Low-fare Search is up and running now. Sorry for the inconvenience.