Skip to content
Bug Barometer

PromotionSegmentSalesStore creation causing exception due to too many buyer groups.

Salesforce says this is fixed.

Summary

Due to too many BuyerGroups associated to the store, the below query to retrieve the PromotionSegmentBuyerGroups for these BuyerGroups (IN clause)is exceeding the character length. A bug W-15347851 is created to fix this issue.


SELECT BuyerGroupId, PromotionSegmentId FROM PromotionSegmentBuyerGroup WHERE BuyerGroupId in ('0ZIxx000000004r','0ZIxx000000009h', ...)


The above bug will fix our internal query to support number of buyer groups the customer has. There is a mismatch currently between what the customer is allowed to do and what our query supports.


Note: After the fix of this query merchants will be limited to assigning no more than 5,000 buyer groups to a promotion segment at once (i.e., they cannot create more than 5,000 PromotionSegmentBuyerGroup entries at a time).

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 1 report

    Nov 30, 2026

Also open in B2B Commerce