diff --git a/auth0/src/main/java/com/auth0/android/request/internal/BaseRequest.java b/auth0/src/main/java/com/auth0/android/request/internal/BaseRequest.java index 5b79a95c9..ba59eda41 100755 --- a/auth0/src/main/java/com/auth0/android/request/internal/BaseRequest.java +++ b/auth0/src/main/java/com/auth0/android/request/internal/BaseRequest.java @@ -131,7 +131,7 @@ protected U parseUnsuccessfulResponse(Response response) { stringPayload = body.string(); Type mapType = new TypeToken>() { }.getType(); - Map mapPayload = gson.fromJson(body.charStream(), mapType); + Map mapPayload = gson.fromJson(stringPayload, mapType); return errorBuilder.from(mapPayload); } catch (JsonSyntaxException e) { return errorBuilder.from(stringPayload, response.code());