Android Kotlin Received Unknown Error

Please include the following information in your post:

  • Which SDK this is regarding: auth0-android
  • SDK Version: 2.5.0
  • **Platform Version: Android 12
  • Code Snippets/Error Messages/Supporting Details/Screenshots:
try {
                    .passwordlessWithSMS(phoneNumber, passwordlessType = PasswordlessType.CODE)
            } catch (e: AuthenticationException) {
                Log.e("Auth Error", e.getDescription())
                Log.e("Auth Error", e.getCode())

Yesterday it worked perfectly, for some reason when I’m executing this function I receive this error:

Received error with code a0.sdk.internal_error.unknown

This is related to the Android app, my iOS app works perfectly.
Also, trying the API using HTTP request from postman for passwordless also works.

For anyone here who encounters this ridiculous problem.
This TRUE problem here is that the time in the device is incorrect!
You need to Cold Boot the device, that’s all…

It’s a shame for the Android creators, really.
A real joke in the face of the clients.


1 Like

Thank you for sharing it with the rest of community!