Re: Error on Lookup API "statusCode": "CDI110", "statusDescription": &

vk1
Occasional Visitor

Error on Lookup API "statusCode": "CDI110", "statusDescription": "Max records Invalid"

I am seeing this error on my lookup API. What does it mean. It used to return success before.
 
{
"merchantSearchServiceResponse": {
"header": {
"startIndex": 0,
"endIndex": 0,
"messageDateTime": "2024-12-09T18:31:25.025",
"requestMessageId": "VCO_GMR_001",
"responseMessageId": "cfda4630-a407-44a1-9c33-93fa569b392c",
"numRecordsMatched": 0,
"numRecordsReturned": 0
},
"status": {
"statusCode": "CDI110",
"statusDescription": "Max records Invalid"
}
}
}
2 REPLIES 2
SyedSa
Community Moderator

Re: Error on Lookup API "statusCode": "CDI110", "statusDescription": &

Hi @vk1Thank you for reaching out. An agent will get back to you as soon as possible. Until then, if any community member has information that may be helpful, feel free to reply in this thread.

API_Products
Visa Developer Support Specialist

Re: Error on Lookup API "statusCode": "CDI110", "statusDescription": &

Hey @vk1,

 

The error message "statusCode": "CDI110", "statusDescription": "Max records Invalid" indicates that the value specified for the maximum number of records to be returned by the Lookup API is invalid. This could be because the value exceeds the allowed limit, is not a valid number, or there is some other issue with the parameter value.

 

To resolve this issue, you should check the following:
1. Ensure that the `maxRecords` parameter value you are specifying is within the allowed range as per the API documentation.
2. Verify that the `maxRecords` parameter is a valid number.
3. Check if there are any recent changes to the API specifications or the allowed limits.

For more detailed information, you can refer to the API documentation on the developer.visa.com platform.

 

Here's an example of how the `maxRecords` parameter should be used in a Lookup API request:

 

```json
{
"merchantSearchServiceRequest": {
"header": {
"startIndex": 0,
"maxRecords": 10,
"messageDateTime": "2024-12-09T18:31:25.025",
"requestMessageId": "VCO_GMR_001"
},
"searchAttrList": {
"merchantName": "Visa"
}
}
}
```

 

Make sure the `maxRecords` value is appropriate and complies with the API's requirements. If you continue to encounter issues, you may want to contact Visa Developer Support for further assistance.




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.