Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

GitkitServerException: org.json.JSONException: JSONObject["access_token"] not found. #45

Closed
weikangchia opened this issue May 25, 2016 · 1 comment

Comments

@weikangchia
Copy link

I am trying to get an email verification link for a particular email registered user via System.out.println(gitkitClient.getEmailVerificationLink(gitkitUser.getEmail()));. However, I am getting this exception: com.google.identitytoolkit.GitkitServerException: org.json.JSONException: JSONObject["access_token"] not found.

May I know what have I done wrong.

Thanks in advance.

@weikangchia
Copy link
Author

My bad, it turns out that I have used an invalid ServiceAccountEmail. The correct form should be like this: service-name@project-name.xxx.xxxxxxxxx.xxx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant