You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
we have the same issue sometimes – note that it is not an error on the mixpanel side: they are sending you the data as it was ingested from the SDK (the carrier has a funky name...)
The core problem is that the used package jsonlite has become very strict about throwing errors when the json is improper since package version 0.9.12 –– so if it is feasible for you, you can install the specific previous version (0.9.11) just for getting the data you need. Other than that, it might go better with jsonlite::streamin, since mixpanel sends line-complete json...
reference: jeroen/jsonlite#59
the solution from @oriolcosp doesn't work anymore unfortunately.
Any other idea to circumvent the issue? Using R 4.0 and the most updated package of Rmixpanel.
Hi,
When running:
I was getting the error:
Apparently, Mixpanel was putting some invalid json character on the data we were getting and that was causing the error.
I managed to fix it by going into the function eventsJson2RMatrix and adding at the start:
I hope this helps improve the package. Thanks!
The text was updated successfully, but these errors were encountered: