Resolved: "Search Failed" Error (SuiteCommerce Sorting)

One of our clients wanted a custom field added as a sortable option on their SuiteCommerce website. The field had been added to the Search configuration Results Sorting as an option to sort items by. It was also added to the Search Index Sort Fields on the Website Setup record.

To learn more, check out this article that my teammate Matthew wrote back in December of 2024 on SuiteCommerce PLP Filter Options: Results Sorting

About the "Search Failed" Error

When attempting to load the search page with item results, I received a 400 error with the message “Search Failed” from the Item API. This likely occurred due to adding a new search index option without rebuilding the search index.

Resolving the "Search Failed" Error

I was able to resolve this issue by completing the following steps:

  • Navigate to the website setup record under Commerce > Web Sites > Web Site List
  • Select the domain you are working on
  • In the Actions dropdown menu, click “Rebuild Search Index”
  • After starting a search index job, you can click “View Index Status” to track the progress of the rebuild

Once the search index rebuild is complete, the error should be resolved!

Author: An Phan


Got stuck on a step in this article?

We like to update our blogs and articles to make sure they help resolve any troubleshooting difficulties you are having. Sometimes, there is a related feature to enable or a field to fill out that we miss during the instructions. If this article didn't resolve the issue, please use the chat and let us know so that we can update this article!

FREE SuiteCommerce Book

If you liked this article, you'll LOVE our book on SuiteCommerce! Order the free SuiteCommerce book today, and we'll even pay for shipping!

Oracle NetSuite Alliance Partner & Commerce Partner

If you have questions about how our team can support your business as you implement NetSuite or SuiteCommerce, feel free to contact us anytime. Anchor Group is a certified Oracle NetSuite Alliance Partner and Commerce Partner equipped to handle all kinds of NetSuite and SuiteCommerce projects, large or small!

We are a premium SuiteCommerce agency that creates powerful customer portals. Unlike our competitors, we have already solved your problems.

 
 

Want to keep learning?

Our team of NetSuite and ecommerce professionals has written articles on a wide variety of topics, from step-by-step tutorials, to solution recommendations, available support services, and more!

Your cart