Skip to main content
Answer

Forwarding Android trial started events to mParticle fail with 400

  • August 23, 2021
  • 3 replies
  • 94 views

Forum|alt.badge.img+5

We have setup the mParticle Integration to forward subscription event data to mParticle. Currently this fails for most of `trial_started` events originating on Android.

Other events are reported successfully.

Steps to reproduce:

  • Opening our App in the Dashboard
  • Select Analytics > mParticle from the left 
  • Scroll down to “Recent Events”

Expected

All requests are successful and return a status code of 2xx.

Actual

`trial_started` events originating on Android fail with a 400 status code.

This is impacting our analytics stack heavily and a fast fix is highly appreciated. If you need further input from us let us know.

Best answer by Jens

We believe to have found the cause of the issue, I responded directly via email.

This post has been closed for comments

3 replies

Jens
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • August 23, 2021

Hi Wolfgang,

We are looking into it.

Jens

Head of Product @ RevenueCat


Jens
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • Answer
  • August 23, 2021

We believe to have found the cause of the issue, I responded directly via email.


Forum|alt.badge.img+5
  • Author
  • New Member
  • August 23, 2021

Thank you for looking into it quickly. 

For reference if anyone else is experiencing this: In some cases we set a wrong mParticle Id when initialising the RevenueCat SDK, which failed then failed on mParticle’s side due to a parsing error. Ensure the mPID is correctly set, it must be a String that is parsable to an Int64.