Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requests to this API identitytoolkit method google.cloud.identitytoolkit.v1.AuthenticationService.SignUp are blocked. #5628

Closed
kamechan8 opened this issue May 18, 2020 · 3 comments

Comments

@kamechan8
Copy link

Error Domain=FIRAuthErrorDomain Code=17999 "An internal error has occurred, print and inspect the error details for more information." UserInfo={FIRAuthErrorUserInfoNameKey=ERROR_INTERNAL_ERROR, NSLocalizedDescription=An internal error has occurred, print and inspect the error details for more information., NSUnderlyingError=XXX {Error Domain=FIRAuthInternalErrorDomain Code=3 "(null)" UserInfo={FIRAuthErrorUserInfoDeserializedResponseKey={
    code = 403;
    errors =     (
                {
            domain = global;
            message = "Requests to this API identitytoolkit method google.cloud.identitytoolkit.v1.AuthenticationService.SignUp are blocked.";
            reason = forbidden;
        }
    );
    message = "Requests to this API identitytoolkit method google.cloud.identitytoolkit.v1.AuthenticationService.SignUp are blocked.";
    status = "PERMISSION_DENIED";
}}}}



Firebase Installation registration failed for app with name: __FIRAPP_DEFAULT, error: Error Domain=com.firebase.installations Code=0 "The server responded with an error. HTTP response: <NSHTTPURLResponse: 0x600002e202c0> { URL: https://firebaseinstallations.googleapis.com/v1/projects/XXX/installations/ } { Status Code: 403, Headers {
    "Cache-Control" =     (
        private
    );
    "Content-Encoding" =     (
        gzip
    );
    "Content-Length" =     (
        319
    );
    "Content-Type" =     (
        "application/json; charset=UTF-8"
    );
    Date =     (
        "Mon, 18 May 2020 07:14:45 GMT"
    );
    Server =     (
        ESF
    );
    Vary =     (
        Origin,
        "X-Origin",
        Referer
    );
    "alt-svc" =     (
        XXX
    );
    "x-content-type-options" =     (
        nosniff
    );
    "x-frame-options" =     (
        SAMEORIGIN
    );
    "x-xss-protection" =     (
        0
    );
} }

スクリーンショット 2020-05-18 16 22 17

Tell me how to solve this problem.

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@maksymmalyhin
Copy link
Contributor

maksymmalyhin commented May 19, 2020

@Takauser The error most likely indicates the project misconfiguration (invalid API key, API key restriction or API key to project ID mismatch, etc.). Could you please make sure:

  1. you are using the most recent version of GoogleServices-Info.plist in your application
  2. The API key restrictions for the key from GoogleServices-Info.plist are configured correctly (you may follow these steps)

If you still have issues I would suggest:

  1. Test your iOS app with another Firebase project GoogleServices-Info.plist:
    • If the issue occurs only for a specific Firebase Project please contact Firebase Support.
    • If the issue still occurs please make sure you configure Firebase following steps from the guide.

@kamechan8
Copy link
Author

Thanks for your help. I created another Firebase project and it worked well.
I don't know why it happened.

@firebase firebase locked and limited conversation to collaborators Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants