Skip to content

Troubleshooting

Luka Ilić edited this page Oct 25, 2023 · 3 revisions

I see errors in logcat, what do they mean?

org.infobip.mobile.messaging.api.support.ApiException: UNAUTHORIZED, Invalid login details
If you see this error in logs, then device will never register in the system. This error means that invalid Application Code was provided to the library. Check that valid code is set in strings.xml or via MobileMessaging.Builder#withApplicationCode, MobileMessaging.Builder#withApplicationCodeProvider.

org.infobip.mobile.messaging.mobile.InternalSdkError$InternalSdkException: SDK_ERROR, 20006, There is no valid registration
This error is printed to logcat log when device is not yet registered in the system. Under normal circumstances this error should disappear once registration is created.

E/MobileMessaging: SDK_ERROR, 20001, Error accessing GCM
This error means that Google Play services are unavailable on this device. For more details, refer to the SDK event: https://github.com/infobip/mobile-messaging-sdk-android/wiki/Library-events#google_play_services_error

Clone this wiki locally