I am testing how API works. Read all the docs and some topics here. Then in a new page I prepared the API Data Source for the connection to a test environment of Amadeus (Travel GDS).
The endpoint is https://test.api.amadeus.com/v2/shopping/hotel-offers
One mandatory parameter is CityCode = PAR (for Paris)
The header authorization has to be Bearer + Token. In the Amadeus test environment the token can be generated online and expires after 30 minutes. In the bottom line I will post a newly generated token.
When I try to define the API Schema all the data are in the right place, as you can see:
But the when I fetch the schema I get an error [object Object]:
Before posting this case I have tried to use the same API in PostMan and it works fine.
I don’t know what kind of error I am making in Wappler. Appreciate any help.
If you want to give a try yourself, this is the Bearer token that should last until 11:40 am today.
6eXXOyAyGlfgcNxGj64syxHoGlEA
In case you want to help me but the token is expired, please let me know and I will send a new one.
Last updated: