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
First tracked here as Solution Deployed with 1 report
Nov 30, 2026
Also open in B2B Commerce
Incorrect labels for Tab component on B2B Site
Solution ScheduledCommerce / B2B CommerceWinter '24Reported Jun 13, 202314 reports14reports
Custom Pricing Extension returns 18-character format for ProductID causing issues on the Product Detail page
In ReviewCommerce / B2B CommerceWinter '26Reported Sep 16, 202513 reports13reports
Various Apis and apex classes Fails with System.UnexpectedException After Winter '26 Release
In ReviewCommerce / B2B CommerceReported Sep 9, 202513 reports13reports
Images in Enhanced LWR sites do not render to Site user if Cloudflare CDN is enabled
Solution ScheduledCommerce / B2B CommerceWinter '25Reported Jan 22, 202512 reports12reports