Auth0 Home Blog Docs

JsonParseExeption when retrieving user profile

user-profile

#1

Hi there,

could you please help me with the following issue (Android).
After successful login, when using the userinfo endpoint in getProfile() the UserProfileDeserializer throws the following error:

com.google.gson.JsonParseException: user profile json is not a valid json object
** at com.auth0.android.request.internal.UserProfileDeserializer.deserialize**

I nearly copied sample code but don´t use the WebAuth - with same result.

Thanks for your help