Re: Merchant search CDI071 Backend Error - Fetching data from solr failed

Solved! Go to solution
KrisC
Helper

Merchant search CDI071 Backend Error - Fetching data from solr failed

Hi!

I'm testing merchant search using my project's sandbox.I'm sending a POST to https://sandbox.api.visa.com/merchantsearch/v2/search using Postman, with the request taken from the sample in https://developer.visa.com/capabilities/merchant_search/reference#tag/Generic-Search/operation/gener...:

 

{
  "searchOptions": {
    "matchScore": "true",
    "maxRecords": "10",
    "matchIndicators": "true",
    "proximity": [
      "merchantName"
    ],
    "wildCard": [
      "merchantName"
    ]
  },
  "header": {
    "startIndex": "0",
    "requestMessageId": "VCO_GMR_001",
    "messageDateTime": "2015-08-28T22:05:00.000"
  },
  "searchAttrList": {
    "merchantPhoneNumber": "4153440351",
    "merchantCity": "San Francisco",
    "merchantCountryCode": "840",
    "merchantPostalCode": "94107",
    "paymentAcceptanceMethod": "F2F",
    "visaStoreId": "161688518",
    "merchantStreetAddress": "280 King St",
    "merchantState": "CA",
    "merchantName": "starbucks ",
    "terminalType": "SWIPE"
  },
  "responseAttrList": [
    "GNSTANDARD"
  ]
}

 

I get below response:

 

{
    "merchantSearchServiceResponse": {
        "header": {
            "startIndex": "0",
            "messageDateTime": "2023-09-27T14:59:57.057",
            "requestMessageId": "VCO_GMR_001",
            "responseMessageId": "4960a6b0-264a-4e1d-ae60-3a7e948506d9",
            "numRecordsMatched": 0,
            "numRecordsReturned": 0
        },
        "status": {
            "statusCode": "CDI071",
            "statusDescription": "Backend Error - Fetching data from solr failed"
        }
    }
}

 

I tried using current date and time in UTC for the header.messageDateTime but that didn't help. I tried searching for the status code and the description but did not find any solutions. Please help.

4 REPLIES 4
KrisC
Helper

Re: Merchant search CDI071 Backend Error - Fetching data from solr failed

Following up on this question. I tried it on the Visa Developer Center Playground on a Windows machine and got the same result as above. See:

screenshot.jpg
jenn_kh
Community Moderator

Re: Merchant search CDI071 Backend Error - Fetching data from solr failed

Thank you for reaching out, @KrisC!. An agent is looking into this and will get back to you shortly. In the meantime, if any community member knows a solution, feel free to reply here.

KrisC
Helper

Re: Merchant search CDI071 Backend Error - Fetching data from solr failed

Hi @jenn_kh, it seems to be working now. I'm getting results, no longer the solr error.

Thanks!

jenn_kh
Community Moderator

Re: Merchant search CDI071 Backend Error - Fetching data from solr failed

Hi @KrisC, Thank you for letting us know! We're happy to hear it's working for you now. Please don't hesitate to reach out if you need further assistance.