The error and cause of the 403 error is the following:
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:
- You are using a project and the credential for the project which includes the API being accessed.
- Create a project and receive sandbox credentials for the API’s being called.
- Add the API being called (if not already included) to the project with credentials that are being used.
You can also refer to this link for support on error codes - https://developer.visa.com/pages/visa-developer-error-codes
If the error persists, please provide the following information:
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body
Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.
Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.