Re: Token Validation Failed

TOusif
Regular Visitor

Token Validation Failed

Hi Team,

 

We are trying to connect to helloworld API with sandbox credentials but we are getting 401, Below is the response and other details.

URL: https://sandbox.api.visa.com?apikey=R3R51X97DRYZMBTTL8J4212v0sfY-txx_gZwKrE8Yw_TDNkNw

API Key: R3R51X97DRYZMBTTL8J4212v0sfY-txx_gZwKrE8Yw_TDNkNw

Secret: y1xwNkDLKIOBJLTMWmUihE2sD20DceQIx1H86x

 

{
"responseStatus" : {
"status" : 401,
"code" : "9201",
"severity" : "ERROR",
"message" : "Token Validation Failed",
"info" : ""
}
}

RequestRequestGroovy ScriptGroovy Script

4 REPLIES 4
API_Products
Visa Developer Support Specialist

Re: Token Validation Failed

Hey @TOusif,

 

Can you please confirm the API that you are trying to call? Also, please provide all of the following information below and I am happy to help you resolve the issue:

1. Endpoint
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.

 




Thanks,

Tee



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: Token Validation Failed

Hey @TOusif,

 

We recommend you to use the VDC Playground tool for your testing. Can you please download this tool and test from your project dashboard > Assets tab (refer to screenshot below)?

20190801 Assets tab.png


You can find the guide on Getting Started with VDC Playground from this blog post here - https://developer.visa.com/pages/visa-developer-center-playground 
 
Please see the LICENSE_README.txt on the requirements to use VDC Playground.




Thanks,

Tee



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: Token Validation Failed

Hey @TOusif,

 

Can you please let us know if your issue is resolved? Please let us know if there's anything else we can do because I'm happy to help.

 




Thanks,

Tee



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

Tousif121
Regular Visitor

Re: Token Validation Failed

Hi Diana,

 

Yes, Its resolved.

Thank you.