"Token Validation Failed" 9159 in Visa in-App Provisioning Enroll Customer API SOAP UI Execution

flomaya
Regular Visitor

"Token Validation Failed" 9159 in Visa in-App Provisioning Enroll Customer API SOAP UI Execution

Hi,

I tried to run Enroll Customer API for Visa In-App Provisioning but I got the following error:

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

- I already set the SSL settings

- I already put the userid and password (basic authorization)

- I already put the x-pay-token value from groovy script which is shown in the helloworld example (but change URI="helloworld" to URI="customers")

 

I already tried the hello world API calling using SOAP UI in here: https://developer.visa.com/pages/working-with-visa-apis/x-pay-token and it return the helloworld successfully.

 

So, I'm not sure what's wrong with my API call. Can anyone please give a hint/ help on how to solve this issue please?

 

 sucessHelloWorldUsingXPayTokenFromGroovyScriptUserIdAndPassword.png

 

enrollCustomerAPIError.png

 

successGroovyScript.png

(This is my groovy script to generate x-pay token, I changed the "helloworld" to "customers")

 

 

2 REPLIES 2
flomaya
Regular Visitor

Re: "Token Validation Failed" 9159 in Visa in-App Provisioning Enroll Customer API SOAP UI

Sorry, my error code is 9102 now after I changed my auth to authenticate pre-emptively. I can't edit my question.
vkamboj
Visa Dev Moderator

Re: "Token Validation Failed" 9159 in Visa in-App Provisioning Enroll Customer API SOAP UI

Hi @flomaya

 

Please follow the steps in the developer.visa.com Getting started and test whether certificates are good.  

https://developer.visa.com/pages/working-with-visa-apis/visa-developer-quick-start-guide 

 

  1. Use the instruction and install the certificates. Follow exact steps 
  1. Use SOAPUI and test hello world with your certs. That is tell if there is a credential issue.  

If that works, then send us the json http request and response (complete request and response with header values) and we can help if there is an issue. 

 

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.