Skip to content Skip to sidebar Skip to footer

Remote Server Returned An Error: (401) Unathorized In C# Gcm Response

I have seen this question posted in a thousand places and I have tried all the solutions that have worked for others but I am not able to get this to work for me. I used this post

Solution 1:

If you are using a Browser Key, you should remove the allowed referrers of that key, so that it would say Any referrer is allowed. This would allow you to send the notifications from a locally run server.

Otherwise, you'll be able to send GCM messages using that Browser Key only from Web Sites that have the domain specified in allowed referrers.

Solution 2:

Check on the console (console.developers.google.com) if the API "Google Cloud Messaging for Android" is active.

I had the same problem, I thought it was active and wasn't

Post a Comment for "Remote Server Returned An Error: (401) Unathorized In C# Gcm Response"