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.
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:
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.
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.
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