Re: Visa Token Service Issuer API -VSE business errors

Solved! Go to solution
ghorvath
Helper

Visa Token Service Issuer API -VSE business errors

Hi,

 

I'm trying to test Visa Token Serivce Issuer API in CERT environment but I keep getting errors with VSE business error codes and I can't find detailed explanation to these errors.

 

I called the Token Inquiry by PAN service with panReferenceID (using encrypedData is the next step) and I got the following response.

 

I really appreciate any help to solve this issue. And if you have a detailed documentation about VSE business errors, please post it.

 

Thank you!

 

 

HTTP/1.1 400 Bad Request
Server: Apache
X-SERVED-BY: l55p158
X-CORRELATION-ID: 1556096068_160_101_l55p158_VDP_ARM
X-APP-STATUS: 400
X-RESPONSE-ID: 1af8a3c5-a30a-4cc9-85be-193785609e64
Content-Language: en-US
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; 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-Security-Policy-Report-Only: default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-Content-Security-Policy-Report-Only: default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-WebKit-CSP-Report-Only: default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
Content-Type: application/json;charset=UTF-8
Content-Length: 96
X-Cnection: close
X-Cnection: close
Date: Wed, 24 Apr 2019 08:54:28 GMT
Connection: close
"{"errorResponse":{"status":400,"message":"VSE_ERROR_REQUIRED_DATA_MISSING","reason":"VSE40001"}}"

6 REPLIES 6
ghorvath
Helper

Re: Visa Token Service Issuer API -VSE business errors

In the past few hours I made some more tests with another API call and got the same results. I can only think that HTTP header parameters are not supplie correctly, because I made a call with Token Inquiry which does not have request body, and I got the same results.

 

These are the HTTP request headers I've set (apiKey and x-pay-token were cut out):

 

POST /vtis/v1/pan/retrieveTokenInfo?apikey=<> HTTP/1.1
X-REQUEST-ID: 2da56cba-a312-44ff-9e7a-06f3193a57a9
Accept: application/json;charset=UTF-8
Content-Type: application/json;charset=UTF-8
Accept-Language: en-US
Content-Language: en-US
x-pay-token: xv2:<>
Content-Length: 45
Host: cert.api.visa.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_201)
Accept-Encoding: gzip,defl

vkamboj
Community Moderator

Re: Visa Token Service Issuer API -VSE business errors

Hi @ghorvath

 

I am working on your request and will get back to you soon. 

 

Thank you, 

Vaibhav 

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

Re: Visa Token Service Issuer API -VSE business errors

Hi Vaibhav,

 

Thank you in advance!

vkamboj
Community Moderator

Re: Visa Token Service Issuer API -VSE business errors

Hello @ghorvath

 

Thank you for your patience. Visa Token Service is a restricted product and it requires additional information from you so we can assist you. 

 

Can you please reach out to us at Developer@visa.com and I will get you in contact with a Visa Token Service team for further debugging. 

 

Thank you, 

Vaibhav 

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

Re: Visa Token Service Issuer API -VSE business errors

Hi @ghorvath

 

This API call returned an Error Code/Response Status of 400, which maps to “Invalid Request from the client.” This error implies an invalid PAN entered by the user, an invalid device used, or the PAN was not enrolled. These are standard messages and should be expected unless the volume of errors is abnormal.

 

Can you please confirm if this is a new integration or has the integration been established and there have been an increased rate of errors as of recent?

 

Thank you, 

Vaibhav 

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

Re: Visa Token Service Issuer API -VSE business errors

Hi Vaibhav,

 

Yes, this is a new integration of the Visa Token Service Issuer API and I have tested the API calls to see and process the responses.

We will have a test window in the following two weeks, after that I think I will be more experienced with the API. 🙂

 

Thank your for your time!