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

AhmedGaber
New Contributor

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

1. Endpoint:  https://sandbox.api.visa.com/vdp/helloworld
2. RequestHeader: x-pay-token: {my_x_pay_token}
3. Request Body: empty string ""
4. 

map[Cache-Control:[no-cache, no-store, must-revalidate] Connection:[keep-alive] Content-Length:[122] Content-Type:[application/json;charset=UTF-8] Date:[Mon, 02 Oct 2023 15:51:24 GMT] Expires:[-1] Pragma:[no-cache] Server:[nginx] Strict-Transport-Security:[max-age=31536000;includeSubdomains] X-App-Status:[403] X-Content- X-Content-Type-Options:[nosniff] X-Correlation-Id:[1696261884_049_1289032811_-78585b5877l6_VDP_WS] X-Error-Origin:[9200] X-Frame-Options:[SAMEORIGIN] X-Served-By:[-78585b5877l6] X-Xss-Protection:[0]]

5. Response Body: {"responseStatus":{"status":403,"code":"9611","severity":"ERROR","message":"Authorization Failed for the URL.","info":""}

X-Correlation-Id:[1696261884_049_1289032811_-78585b5877l6_VDP_WS]

I_Doroteo3
Visa Developer Support Specialist

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

Hi @AhmedGaber

 

You are getting 403-9611 error for token, which can be fix by generating credentials properly. Our get started guide and watch the video will help you to resolve this issue.  

 

You can also refer to this video on how to Get Credentials to Start Building with XPay Token.

 

Thanks, 

Illana

API_Products
Visa Developer Support Specialist

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

Hi @AhmedGaber,

 

Were you able to fix the error? If so, I'll take you off my contact list. Please let us know. Thanks. 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

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

Hi @AhmedGaber,

 

I haven't heard from you so I'll take you off my contact list. Please do not hesitate to reach out if you have any questions. 




Thanks,

Diana H.



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

@AhmedGaber, As mentioned above, you have to change other parameters as well. With api you want to access.

For debugging your error you can utilize https://developer.visa.com/pages/visa-developer-error-codes this resouce.