Visa Developer Community

Highlighted
Regular Visitor

Getting status code 303 while using nodejs sample code for Visa direct API

Hello there, I am using Nodejs sample code for Visa Direct API. While testing I got the following response:


Response: {"statusCode":303,"body":"788b32e6-9b50-4f68-be04-cf6e01f5fa42_1","headers":{"server":"nginx","date":"Thu, 25 Jun 2020 06:58:33 GMT","content-type":"application/octet-stream;charset=UTF-8","content-length":"38","connection":"close","x-served-by":"l73c015","x-correlation-id":"1593068313_775_1754516361_l73c015_VDP_WS","x-app-status":"303, 303","x-backside-transport":"OK OK,OK OK","x-duplicate-request-submission":"true","location":"https://sbx-gtm-vd.visadirect.visa.com:8445/vpp/v1/adjustment/mailbox/788b32e6-9b50-4f68-be04-cf6e01...; mode=block","x-content-type-options":"nosniff","strict-transport-security":"max-age=2592000;includeSubdomains","cache-control":"no-cache, no-store, must-revalidate","pragma":"no-cache","expires":"-1","content-language":"en-US"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"sandbox.api.visa.com","port":443,"hostname":"sandbox.api.visa.com","hash":null,"search":null,"query":null,"pathname":"/visadirect/v1/adjustment","path":"/visadirect/v1/adjustment","href":"https://sandbox.api.visa.com/visadirect/v1/adjustment"},"method":"POST","headers":{"User-Agent":"VDP... RExMRTZDQkhSMjk3MUlVVVYwN08yMW1NYzVMOEdTMXpUeV9HMzFRNlJrYURnaEVjdzoxMXBlS0FkbmZWMXU5Rld5SWlWNkEw","x-correlation-id":"yHGP9QpLtUxf_SC","x-client-transaction-id":"{enter appropriate value}","accept":"application/json","content-type":"application/json","content-length":1297}}}

 

Please Help!

Thank You

1 REPLY 1
Highlighted
Visa Dev Moderator

Re: Getting status code 303 while using nodejs sample code for Visa direct API

Hi @db_2510,

 

I'm happy to help resolve the issue. I've logged INC9656175 for the engineering team to take a look. I'll provide you with an update soon, please let us know if we can help with anything else.

 



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

Thanks,
Diana

Tags (3)