Warning Displayed in shopping cart: Snowplow: Event (45396B) too big, max is 40000
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Hello
The warning occurs when the Adobe Commerce B2B website adds over 100 SKUs to the cart.
"Snowplow: Event (45396B) too big, max is 40000" the issue is, It exceeds the size limit, with a maximum of 40,000 bytes.
This setting is configured in the file: `packages/storefront-events-collector/src/snowplow.ts`, where `maxPostBytes` is set to 40,000.
According to Snowplow's documentation (https://docs.snowplow.io/docs/sources/trackers/web-trackers/configuring-how-events-sent/#post-support), increasing this value could resolve the warning.
Can you increase this value to prevent the issue?
Attached some screenshots for more referecne.



Thank you
Contributor guide
Research direction
Start in packages/storefront-events-collector/src/snowplow.ts and inspect the maxPostBytes setting alongside Snowplow's POST-size documentation. Reproduce the warning with a cart containing over 100 SKUs, then verify that the adjusted limit prevents the event-size warning without introducing a new failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- analytics
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100