- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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
But receive (403) Forbidden for the both methods from the Extended FX API:
https://sandbox.api.visa.com/fx/rates?... (GET)
https://sandbox.api.visa.com/fx/rates/markup (POST)
Please advise me how to resolve this issue?
Have a nice day,
Bistra
Solved! Go to Solution
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Enhanced Foreign Exchange API returns error 'The remote server returned an error: (403) Forbidde
Hey @bistra,
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 |
FORBIDDEN |
403 |
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:
|
Thanks,
Diana
Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Enhanced Foreign Exchange API returns error 'The remote server returned an error: (403) Forbidde
Hi Diana,
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
https://developer.visa.com/capabilities/foreign_exchange
Because it includes both:
-Foreign Exchange Rates API
-Enhanced Foreign Exchange API
Thanks & Regards,
Bistra
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @bistra - that specific API is restricted. But to get access email developer@visa.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...
Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Enhanced Foreign Exchange API returns error 'The remote server returned an error: (403) Forbidde
Hi @ricardo_visa ,
Hope you are well and healthy!
Thank you very much for the information!
Have a nice day,
Bistra
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Enhanced Foreign Exchange API returns error 'The remote server returned an error: (403) Forbidde
Happy to help! Let me know if you have any additional questions 🙂
Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.