Commerce / POS
POS - Product search returns an error when a pinned search configuration no longer exists
Summary
Product searches that use a specific search configuration return an internal error when that configuration has been deleted or is no longer available, instead of using the default search configuration. Under certain conditions, a search request that points to a search configuration ID with no matching configuration returns an HTTP 200 response containing an INTERNAL_ERROR code rather than search results.
Workaround
Update any search, layout, or action URL that references the deleted or unavailable search configuration ID to point to a valid search configuration.
Alternatively, remove the pinned searchConfigId filter from the URL to allow the system to use the default search configuration.
Steps to reproduce
- Configure a product search to use a specific search configuration ID (for example,
filter=searchConfigId:<id>). - Ensure that the referenced search configuration no longer exists (e.g., it has been deleted).
- Execute the product search request.
- Verify the response.
Actual Result:
The search request returns an HTTP 200 response with ErrorCode: INTERNAL_ERROR instead of returning product search results.
Expected Result:
If the specified search configuration ID does not exist or is unavailable, the system should fall back to the default search configuration and return the relevant product search results without an internal error.
Error details
INTERNAL_ERROR is returned in the response body with HTTP status 200 (OK) instead of the expected product search results.
History
Description updated
Nov 30, 2026
First tracked here as In Review
Nov 30, 2026