Closed bradtgmurray closed 5 months ago
We are looking into it
Hey @bradtgmurray,
We handled this issue in version 1.21.1 of the Android SDK, can you try upgrading to this version and let us know how this goes?
We've been occasionally seeing this same issue on the iOS side
Hey @Marus,
On which version of iOS SDK were you seeing this issue and Can you try upgrading to the latest version of the iOS SDK and verify if that resolves the issue ?
Hi @desusai7 we were using iOS SDK version 2.4.0.
but downgraded to 1.8.0
after finding out that versions > 2.0.0
are in beta.
After downgrading we have been continuously seeing these errors. Any idea on how to resolve this?
Hey @mabdullahsaeed,
Can you please try moving to latest version of the iOS SDK (1.26.1) and see if you are still seeing the same issue ?
Also, please open an issue in iOS SDK repo, if you are still facing the same issue.
Describe the bug Our Android app wasn't successfully sending analytics at all with the Rudderstack SDK.
Looks like we somehow corrupted the events database, and then the batch send loop got stuck on these invalid events on the response
Request to endpoint https://rudderstack.beeper-tools.com/v1/batch failed with status code 400 and error Request neither has anonymousId nor userId
.We did have some bad proguard rules that we think may have created this bad data, and have since fixed those rules, but even then having this upload loop get stuck is unfortunate.
I would propose that if events without a userId/anonymousId were invalid they shouldn't be allowed to be submitted to the database for later sending, or if we get a bad request response from the data plane we drop the data instead of just trying to send the same bad payload again in the future?
To Reproduce Not sure how we managed to get users into this state, might have to be a speculative fix.
Expected behavior The SDK shouldn't get stuck in a way that requires the app to be uninstalled to get events flowing.
Screenshots n/a
Version of the Android SDK
rudderstack = { module = "com.rudderstack.android.sdk:core", version = "1.20.1" }