I am trying to connect to Enhanced Foreign Exchange API, but received an error:
'The remote server returned an error: (403) Forbidden.'
I have included Foreign Exchange Rates API to my project on the Visa dashboard and successfully connected to the rates method from Foreign Exchange Rates API
Please advise me how to resolve this issue?
Have a nice day,
Solved! Go to Solution.
Please refer to the Visa Developer Error Codes page for the cause and resolution of the error here - https://developer.visa.com/pages/visa-developer-error-codes
To resolve the issue, I've copied and pasted the cause and resolution for you below.
|HTTP STATUS||HTTP CODE||CAUSE/RESOLUTION|
The 403 (Forbidden) HTTP Status code indicates that this project does not have permission to access the requested resource. This can happen if you are trying to invoke API request for a resource that is not part of your project e.g. if you have created a project with Visa Direct Product but are trying to use the same credentials to access Visa Consumer Transaction Controls.
Check for the following:
What API should be added in case I want to access Enhanced Foreign Exchange Rate API?
I have included Foreign Exchange Rate API to my project on the Visa sandbox as described on the Visa help page
Because it includes both:
-Foreign Exchange Rates API
-Enhanced Foreign Exchange API
Thanks & Regards,
Hi @bistra - that specific API is restricted. But to get access email email@example.com with the request for that API and they'll get on it.
If you don't hear any response, feel free to let me know and I will escalate.
Also, refer to this tutorial which walks you through those steps: https://community.developer.visa.com/t5/Developer-Tools/Tutorial-How-to-Connect-to-the-Visa-Enhanced...
Hi @ricardo_visa ,
Hope you are well and healthy!
Thank you very much for the information!
Have a nice day,
Happy to help! Let me know if you have any additional questions 🙂