Getting 9501-Invalid Input data error to Get Payment Controls

Ahad
Occasional Visitor

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"
    }
}
4 REPLIES 4
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!

DianaTran
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



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
Occasional Visitor

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"
    }
}
DianaTran
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



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