Skip to content

Error during creating secrets.jsom / "Requests from this Android client application <cempty> are blocked / API_KEY_ANDROID_APP_BLOCKED #154

@guny74

Description

@guny74

Hallo,

I tried to create the secrets.json (using the "Backup" Repro because the main.py is missing in the actual REPRO....) I get the following error.

GCM register request attempt 2 out of 100 has failed with Error=PHONE_REGISTRATION_ERROR
Error during fcm_install: {
  "error": {
    "code": 403,
    "message": "Requests from this Android client application \u003cempty\u003e are blocked.",
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.ErrorInfo",
        "reason": "API_KEY_ANDROID_APP_BLOCKED",
        "domain": "googleapis.com",
        "metadata": {
          "service": "firebaseinstallations.googleapis.com",
          "androidPackage": "\u003cempty\u003e",
          "consumer": "projects/289722593072"
        }
      },
      {
        "@type": "type.googleapis.com/google.rpc.LocalizedMessage",
        "locale": "en-US",
        "message": "Requests from this Android client application \u003cempty\u003e are blocked."
      }
    ]
  }
}

How could it be solved ?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions