"No Credentials were Previously Set" Error with Android SDK


The following error has been appearing in Auth0 applications:

No Credentials were previously set.


This error is thrown when there is no valid credentials stored in the CredentialsManager. See this SDK to find where this error might be.


In the implementation, it is recommended to use hasValidCredentials before calling the getCredentials method.

NOTE: A call to clearCredentials and, afterward, to getCredentials would also reproduce this particular error.