Hi @vk1, Thank 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.
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.