Loading

Rogue query timeouts in the B2C Commerce

Дата публикации: Dec 12, 2025
Описание

The B2C Commerce platform restricts rogue queries that produce 200,000 results or more configured in Business Manager or using the customer_search and order_search APIs in order to protect customer instances and their associated services from outages. This was introduced in the 23.10 release as outlined in Rogue Query Limits in B2C Commerce.

 

To better protect the platform, there are plans to change the allowed offset value from 200,000 to 10,000. This new limit was implemented in the 24.6 release in June 2024.

 

When using the APIs mentioned above today, you will see an error like the one below if you generate rogue queries with offset values greater than 10,000:
Search request offset <value> is greater than offset limit 10000 for tenant '<GroupID>_<Instance'>, type 'order']

Решение

What will the experience be for customers who generate a rogue query?
API calls will have an error message specifying that the offset value needs to be set to under 200,000 (10,000 starting in the 24.6 release). Business Manager calls will fail without an error message in the UI, similar to the experience for timeouts.

How can I reduce the risk of generating a large query?
Please make the query more targeted via filters and offset values.

What batch APIs can be used to still retrieve large datasets?


I still want help from Support. What will I be asked to provide?
In addition to the data requested in Gathering Details for B2C Commerce Support Cases, please clarify with Support why you need to run queries with such a large offset in the first place. Please also confirm that your queries are correct and intentional.

Номер статьи базы знаний

000396932

 
Загрузка
Salesforce Help | Article