question

anaslaaouini avatar image
anaslaaouini asked ·

Question about 'Latest known foreign exchange reference rate for all available currencies'

Hello,

When I used the official dev portal https://developer.fusionfabric.cloud and tried to execute 'Financial Toolbox---->Exchange Rates and Currency Conversion (1.0)---> Latest known foreign exchange reference rate for all available currencies', I noticed that It does not work.
In fact the token is created successfully, but the http request fails to execute with the following error code:

{
"statusCode": 401,
"message": "Access token is missing or invalid."
}. What can I do?

API - Other
10 |600 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Laurent Chollet avatar image
Laurent Chollet answered ·

Hi,

make sure to provide a valid token (generated less than one hour) as header of the request.

Ex:

GET /endpoint

Host: api.fusionfabric.cloud

Content-Type: application/json

Authorization: Bearer token

...

10 |600 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.