Adding Google GCM Api Key Azure Notification Hub Error

前端 未结 4 1024
-上瘾入骨i
-上瘾入骨i 2021-01-13 19:39

We are trying to add our GCM API key to the azure notification hub and we are receiving the following error:

SubCode=40000. Failed to validate credentials with GCM.

相关标签:
4条回答
  • 2021-01-13 19:57
    SubCode=40000. Failed to validate credentials with GCM.
    

    This will probably fix this error:

    Under the SERVICES tab in the APIs console for Google devs:

    • enable Google cloud messaging for android
    0 讨论(0)
  • 2021-01-13 20:00

    CrusherJoe is 100% correct but if some one need more clear picture here I have attached the screenshot. just go to the link and enable it.

    0 讨论(0)
  • 2021-01-13 20:10

    I recently had this problem and what I found was that I needed to go to the new firebase console, import my existing google project.

    Once I had done that I could go to the settings cog in the top left->project settings. Then click on the cloud messaging tab then get the new server key. Once I entered that I was good to go in the notification hub.

    0 讨论(0)
  • 2021-01-13 20:14

    Some users may not have verified or registered domain.

    With the help of webmaster Tools u can verify and register your domain.

    Go to Google Dev Console -> your project ->API's and Auth -> Push -> Click on Learn more for webmaster

    0 讨论(0)
提交回复
热议问题