Skip to content

Fix trackInApp* functions returning 400 by restoring email in requests#575

Closed
franco-zalamena-iterable wants to merge 1 commit intoIterable:mainfrom
franco-zalamena-iterable:fix/552-inapp-tracking-strips-email
Closed

Fix trackInApp* functions returning 400 by restoring email in requests#575
franco-zalamena-iterable wants to merge 1 commit intoIterable:mainfrom
franco-zalamena-iterable:fix/552-inapp-tracking-strips-email

Conversation

@franco-zalamena-iterable
Copy link
Copy Markdown

@franco-zalamena-iterable franco-zalamena-iterable commented Apr 7, 2026

Summary

  • Remove trackInApp routes from the authorization interceptor exclusion list
  • Ensures email/userId is included in trackInApp* request bodies

Test plan

  • Verify trackInAppOpen, trackInAppClick, trackInAppDelivery, trackInAppConsume include email
  • Verify requests no longer return 400

🤖 Generated with Claude Code

… payloads

Stop stripping email and userId from trackInAppOpen, trackInAppClick,
trackInAppClose, trackInAppDelivery, and trackInAppConsume request
payloads. The authorization interceptor re-adds these fields, but
removing them from the payload caused issues when the interceptor
exclusion logic prevented re-addition, resulting in 400 errors.

Fixes Iterable#552

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.32%. Comparing base (190a168) to head (4991047).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #575      +/-   ##
==========================================
- Coverage   74.45%   74.32%   -0.14%     
==========================================
  Files          57       57              
  Lines        2736     2722      -14     
  Branches      798      798              
==========================================
- Hits         2037     2023      -14     
  Misses        698      698              
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@franco-zalamena-iterable franco-zalamena-iterable deleted the fix/552-inapp-tracking-strips-email branch April 8, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants