Re: 'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

RapidPay
Occasional Visitor

'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

{
    "responseStatus": {
        "status"403,
        "code""9611",
        "severity""ERROR",
        "message""Authorization Failed for the URL.",
        "info"""
    }
}
14 REPLIES 14
jenn_kh
Community Moderator

Re: 'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

Hi, @RapidPay! Thank you for reaching out. One of our agents will look into this and get back to you soon. In the meantime, if any community members know a possible solution, feel free to share it here.

RapidPay
Occasional Visitor

Re: 'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

i am still struggling with this issue

API_Products
Visa Developer Support Specialist

Re: 'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

Hi @RapidPay & @Chirag,

 

Please refer to the Error Response page for the error and solution here:  https://developer.visa.com/pages/visa-developer-error-codes. Please check the following, test again and share your result with us. 

 

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:

  • 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.

 




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.

Chirag
Regular Visitor

Re: 'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

Facing same issue.

URL  : https://sandbox.api.visa.com/vdp/helloworld

Http Status: 403
Two-Way (Mutual) SSL test failed
{"responseStatus":{"status":403,"code":"9611","severity":"ERROR","message":"Authorization Failed for the URL.","info":""}}

Chirag
Regular Visitor

Re: 'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

Have you changed URL from the sample code with API URL you want to call. 

 

I also thought that the sample code will be boilderplate solution, which only requires putting key path and simple yada yada...

AhmedGaber
New Contributor

Re: 'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

I am having the same issues with NodeJS sample, i didn't change anything it's the code sample provided by you, i just filled my SharedSecret and APIkey

AhmedGaber
New Contributor

Re: 'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

Getting the same error in the GoLang sample as well 

2023/09/27 17:28:42 Response Status: 403 
2023/09/27 17:28:42 Response Body: {"responseStatus":{"status":403,"code":"9611","severity":"ERROR","message":"Authorization Failed for the URL.","info":""}}
API_Products
Visa Developer Support Specialist

Re: 'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

Hi @AhmedGaber,

 

Please share the API product that you're using. Please share the information requested of you below for investigation of the error.

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

You can find the x-correlation-id in the response header.




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.

AhmedGaber
New Contributor

Re: 'https://sandbox.api.visa.com/vdp/helloworld' facing issue on helloworld call

I am just using the helloworld test sample, I didn't change anything yet