Scenario
Upon viewing all items in the web store, the Error: “Internal Error Search Failed” gets displayed. The same error also happens on the Item Search API.
However, when we remove the “fieldset=search” URL parameter to the Items Search API URL request, the list of items will be returned. One possible cause of this is that the Display Name and Internal Name of the Website record is recently changed.
Solution
- Navigate to Commerce > Websites > Website List
- Click Edit next to the Website record in question
- Take note of both Display Name and Internal Name
NOTE: If unsure whether there are any recent changes, click the System Notes tab and filter it to Display Name or Internal Name. - Go to Customization > Lists, Records & Fields > Record Types
- Locate Website Fieldsets
- Clickthe associated List link
- For the Search Fieldset, check if the Site Name is the same as the current Website record’s Display Name and Internal Name
- If the above is false, click Edit next to the Search Fieldset record
- Site Name: Set the value to be the same as the Display Name or Internal Name from Step 3
- Click Save