Token Validation Failed on hello world

M24
New Contributor

Token Validation Failed on hello world

hi

i cannot get a 200 response on hellow world... I tried to make new project and can't get 200 status

request:

{
  hostname: 'sandbox.api.visa.com',
  port: 443,
  uri: 'https://sandbox.api.visa.com/vdp/helloworld?apiKey=I88KDTW2YN40FS3GIYGE21hLhGq2ifk1q--GqDuZoXPSZ5Tso',
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
    Accept: 'application/json',
    'X-PAY-TOKEN': 'xv2:1733905942:46173218ca8268161756ae8a1fafaad822c9497a4d4f316423a10ca6b5279e61'
  },
  json: true
}

 

response:

Status: 401
{
  responseStatus: {
    status: 401,
    code: '9159',
    severity: 'ERROR',
    message: 'Token Validation Failed',
    info: ''
  }
}
2 REPLIES 2
SyedSa
Community Moderator

Re: Token Validation Failed on hello world

Hi @M24. Thank you for reaching out. An agent will get back to you as soon as possible. Until then, if any community member has information that may be helpful, feel free to reply in this thread.

API_Products
Visa Developer Support Specialist

Re: Token Validation Failed on hello world

Hey @M24,

 

Please refer to the Visa Developer Error Codes page for troubleshooting tips. 




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.