React Native SDK error logging needs proper Error codes | Community
Skip to main content
Submitted

React Native SDK error logging needs proper Error codes

Related products:ReportingMobile Conversations AppPhone
  • June 23, 2026
  • 0 replies
  • 5 views

Karim Shalapy

Here are some failure points.

  1. Network error
  2. A race condition currently happens in my app where a logout runs while a login is in-flight
  3. If SDK is stuck in failed registration and I try to log in a user
  4. Generic error

Generic errors are errors that might have different reasons that I don't know about yet.

All of these give me "[HTTP - 1] Something went wrong" on android and "Error in <METHOD_NAME>" on iOS

This is problematic since I can't segregate the errors and I can't find out why each one happens except for checking each user session and find out why this was thrown manually.
I would rather having error codes for different failures, and the failures I mean here are not the ones I said only, the engineers will know best what are all the failure points and create an error code for each.