Re: MerchantSearch "Request Data Invalid"

jimhackett
New Contributor

MerchantSearch "Request Data Invalid"

Hello,

 

I'm trying to use the MerchantSearch API (v2) with a very simple payload, but each time I make a request I get back a "

Request Data Invalid." I have essentially copy/pasted a trimmed down version the sample from the API documentation, so I'm not sure what I am doing wrong. This was working for me in the sandbox environment, but once we moved over to production it appears that something is missing. I would appreciate any help, thanks!
 
Request
 
{
"searchOptions":{
"maxRecords":"10",
"proximity":[
"merchantName"
],
"wildCard":[
"merchantName"
]
},
"header":{
"startIndex":"0",
"requestMessageId":"RequestMessgeId457",
"messageDateTime":"2020-10-22T03:04:41.041"
},
"searchAttrList":{
"merchantCity":"San Francisco",
"merchantCountryCode":"840",
"merchantPostalCode":"94107",
"merchantName":"Starbucks"
},
"responseAttrList":[
"GNSTANDARD"
]
}
 
Response
 
{
"merchantSearchServiceResponse": {
"header": {
"messageDateTime": "2020-10-22T03:06:35.035",
"requestMessageId": "RequestMessgeId457",
"responseMessageId": "58489b0291fe4426a50b8242f68feca3",
"numRecordsMatched": 0,
"numRecordsReturned": 0
},
"status": {
"statusCode": "CDI071",
"statusDescription": "Request Data Invalid ('BusinessApplicationId'/'cdisiAutoGenId' not Available)"
}
}
}
7 REPLIES 7
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: MerchantSearch "Request Data Invalid"

Hi @jimhackett,

Is your project promoted to production? Can you please send an email to developer@visa.com and let us know the name of your project. Thanks.


Best,
Stacey

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

Re: MerchantSearch "Request Data Invalid"

Hey @SLi ,

 

Yes our project was promoted to production. Per your request I just sent more details to developer@visa.com.

 

Best,

--Jim

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: MerchantSearch "Request Data Invalid"

Hi @jimhackett,

We are looking in to this and will get back with an update soon. Thanks.


Best,
Stacey

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

Re: MerchantSearch "Request Data Invalid"

Hi @jimhackett,

It looks like our tech team is working with you to troubleshooting the issue. Please feel free to reach out with any further questions. Thanks. 


Best,
Stacey

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

Re: MerchantSearch "Request Data Invalid"

Hi @SLi ,

I'm getting similar error in VBASS.

Here's the response:

{'responseHeader': {'responseMessageID': '34CACCTDTL6258420201111*********'}, 'numRecordsReturned': None, 'responseData': None, 'responseStatus': {'statusCode': 'CDI251', 'statusDescription': 'Bin Range Details Web Service - CdisiAutoGenID is invalid'}}

 

FYI this is happening in production environment.

 

Best regards,

Swarit

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: MerchantSearch "Request Data Invalid"

Hi @swarit-hk,

Our tech team is looking in to this. CdisiAutoGenID is auto generated for your project. Can you please email your project name to developer@visa.com, please also share the correlation-ID of the error. Thanks.


Best,
Stacey

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

Re: MerchantSearch "Request Data Invalid"

Hi @swarit-hk,

The CdisiAutoGenID setup in the backend system has been configured to resolve this issue. Please feel free to reach out if there are any further questions.


Best,
Stacey

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