Closed alexmellott closed 10 months ago
Perhaps a timezone issue? From this Stack Overflow post:
the date & time of returning from Flight APIs in Amadeus Self-Service APIs are based on the local date & time, not the UTC date.
Thanks @siddydutta for the answer.
For future questions that are not related to the libraries, but are related to the API itself, get in touch with the dedicated support channel.
Description
Using the Production endpoint and a Python code sample, unable to return same-day flight information and receive the following error:
[scheduledDepartureDate] Query parameter 'scheduledDepartureDate' should not be past date
Steps to Reproduce
Sample Python code:
Versions
Python3.11.5 MacOS 13.2.1