Getting 9501-Invalid Input data error to Get Payment Controls

Ahad
New Contributor

Getting 9501-Invalid Input data error to Get Payment Controls

We are getting the attached response, Please help me find out the issue with invalid input

 

Request - 

 

curl --location 'https://sandbox.api.visa.com/vpa/v2/accountManagement/getPaymentControls?apikey=0AS2ZF444JX4LZ10UI72...' \
--header 'x-pay-token: xv2:1699443621:fd3ef7474d1789c6bdc668569d2f418acd4573779337dc069f0de8602104ee13' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzRCMTNPVlgwOEtYTTNFQTE0TTAyMW1fY3FXMWpYYW1SVlRyeFpMUVJRcXprZXJSczozS0FvSkVzSTNzc0Y=' \
--data '{
"clientID": "B2BWS_84994_1940",
"messageId": "1966‑07‑30",
"buyerId": 9999,
"accountNumber": 4111111111111111"}'

 

 

{
    "responseStatus": {
        "code""9501",
        "severity""ERROR",
        "message""Invalid input found, please correct the input data",
        "info""",
        "status""400"
    }
}
5 REPLIES 5
jenn_kh
Community Moderator

Re: Getting 9501-Invalid Input data error to Get Payment Controls

Thank you for reaching out, @Ahad! An agent is looking for a solution for you and will get back to you as soon as possible. If any community members know a solution, please feel free to respond in this thread!

API_Products
Visa Developer Support Specialist

Re: Getting 9501-Invalid Input data error to Get Payment Controls

Hi @Ahad,

 

Please provide the following information so we can check the logs to fix the error.

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

You can find the x-correlation-id in the response header.

 




Thanks,

Diana H.



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

Ahad
New Contributor

Re: Getting 9501-Invalid Input data error to Get Payment Controls

Hi Diana,

 

Please find the requested details - 

 

1. End Point URL -  https://sandbox.api.visa.com/vpa/v2/accountManagement/getPaymentControls?apikey=0AS2ZF444JX4LZ10UI72...


2. Request Header -
--header 'x-pay-token: xv2:1699606091:20050c48b5420f83568dfe9f12bcac1c8ee338d3774ffb4a697d6c866d953633' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzRCMTNPVlgwOEtYTTNFQTE0TTAyMW1fY3FXMWpYYW1SVlRyeFpMUVJRcXprZXJSczozS0FvSkVzSTNzc0Y=' \
 
3. Request Body - {"clientId":"B2BWS_1_1_9999","messageId":"2017-04-06T03:47:20.000Z","buyerId":9999,"accountNumber":4111111111111111}

4. Response Header (include the x-correlation-id) -  x-correlation-id : 1699606107_491_1154029113_-54d479d6_VDP_WS
 
5. Response Body - 
 
 {
    "responseStatus": {
        "code": "9501",
        "severity": "ERROR",
        "message": "Invalid input found, please correct the input data",
        "info": "",
        "status": "400"
    }
}
API_Products
Visa Developer Support Specialist

Re: Getting 9501-Invalid Input data error to Get Payment Controls

Hi @Ahad,

 

Thanks I've logged incident INC17239744 for the engineering team to investigate. I'll get back soon.




Thanks,

Diana H.



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: Getting 9501-Invalid Input data error to Get Payment Controls

Hi @Ahad,

 

The simulator in Sandbox is down so you will need to move up to a higher environment. To get this to work, you will have to try in either the Certification or Production environment. 

 

There aren't any plans to build out a true Sandbox environment in the near future where clients would be able to test real requests against. Hence, move to a higher environment if you wish to continue.




Thanks,

Diana H.



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