9501 input error (php based project)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
9501 input error (php based project)
{
"payload": {
"request": [
{
"amount": "100.00",
"senderAddress": "My Address",
"localTransactionDateTime": "2024-09-07T14:45:30",
"recipientPrimaryAccountNumber": "4957030420210454",
"cardAcceptor": {
"address": {
"state": "CA",
"county": "00",
"country": "USA",
"zipCode": "94454"
},
"idCode": "5678",
"name": "Mr Smith",
"terminalId": "1234"
},
"senderReference": "",
"transactionIdentifier": "234234234234234",
"retrievalReferenceNumber": "401010101011",
"senderCity": "My City",
"senderStateCode": "CA",
"systemsTraceAuditNumber": "101011",
"senderName": "Mr Name",
"settlementServiceIndicator": "9",
"transactionCurrencyCode": "USD",
"recipientName": "Akhila",
"senderCountryCode": "USA",
"feeProgramIndicator": "123",
"sourceOfFundsCode": "01",
"senderAccountNumber": "4005520000011126"
},
{
"amount": "100.00",
"senderAddress": "My Address",
"localTransactionDateTime": "2024-09-07T14:45:30",
"recipientPrimaryAccountNumber": "4957030420210454",
"cardAcceptor": {
"address": {
"state": "CA",
"county": "00",
"country": "USA",
"zipCode": "94454"
},
"idCode": "5678",
"name": "Mr Smith",
"terminalId": "1234"
},
"senderReference": "",
"transactionIdentifier": "234234234234235",
"retrievalReferenceNumber": "401010101012",
"senderCity": "My City",
"senderStateCode": "CA",
"systemsTraceAuditNumber": "101012",
"senderName": "Mr Name",
"settlementServiceIndicator": "9",
"transactionCurrencyCode": "USD",
"recipientName": "Akhila",
"senderCountryCode": "USA",
"feeProgramIndicator": "123",
"sourceOfFundsCode": "01",
"senderAccountNumber": "4840920103511221"
}
],
"localTransactionDateTime": "2024-09-07T14:45:30",
"businessApplicationId": "AA",
"merchantCategoryCode": "6012",
"acquirerCountryCode": "840",
"acquiringBin": "408999"
}
}
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: 9501 input error (php based project)
"response": {
"responseStatus": {
"code": "9501",
"severity": "ERROR",
"message": "Invalid input found, please correct the input data",
"info": "",
"status": "400"
}
},
"headers": {
"Server": ["nginx"],
"Date": ["Sat, 07 Sep 2024 06:17:09 GMT"],
"Content-Type": ["application/json;charset=UTF-8"],
"Content-Length": ["141"],
"Connection": ["keep-alive"],
"X-SERVED-BY": ["-576878785r"],
"X-CORRELATION-ID": ["1725689829_204_1873958024_-576878785r_VDP_WS"],
"X-ERROR-ORIGIN": ["9900"],
"X-APP-STATUS": ["400"],
"X-Backside-Transport": ["FAIL FAIL,FAIL FAIL"],
"X-Application-Error-Code": ["3001"],
"X-Global-Transaction-ID": ["9869559666dbefe50e2e35a4"],
"Cache-Control": ["no-cache, no-store, must-revalidate"],
"X-Frame-Options": ["SAMEORIGIN"],
"X-XSS-Protection": ["0"],
"X-Content-Type-Options": ["nosniff"],
"Strict-Transport-Security": ["max-age=31536000;includeSubdomains"],
"Pragma": ["no-cache"],
"Expires": ["-1"]
}
}
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: 9501 input error (php based project)
Hey @sdasdsad2,
You can refer to Visa Developer Error Codes page.
The error message indicates that there is an invalid input in your request. To fix this, you need to ensure that the input data is correctly formatted and meets the expected criteria. Here are general steps to troubleshoot and fix the issue:
1. Verify Input Data: Ensure that all required fields are present and correctly formatted.
2. Check Data Types: Make sure the data types match the expected types (e.g., strings, numbers).
3. Validate Specific Fields: Verify that specific fields do not contain invalid characters or exceed length limits.
4. Consult API Documentation: Refer to the API documentation to understand the input requirements.
Here is an example of how you might correct the input data in a JSON request:
```json
{
"inputData": {
"field1": "validValue1",
"field2": 123,
"field3": "validValue2"
}
}
```
If you provide the specific input data that caused the error, I can help you pinpoint the exact issue and correct it.