ScaryFace87
Posts: 0
Joined: Sun Jun 21, 2015 9:55 am

API key not orking , error 401 unauthorized error please check your android api key

Hello my API key isnt working Everything is right and this i get as error if i set a push notification ;
Description: Request to GCM was not successful: HTTP Status Code: 401(Unauthorized error, please check your android api key)
Devices count: 1

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

API key not orking , error 401 unauthorized error please check your android api key

Hello,

Could you please check that Sender ID and API Key are correct? Try to regenerate them just in case.
This error means something is wrong with key generation, check extra spaces or forbidden symbols.

ScaryFace87
Posts: 0
Joined: Sun Jun 21, 2015 9:55 am

API key not orking , error 401 unauthorized error please check your android api key

Hello ,

Thank you but i already checked if it was correct and i regenerated multiple keys before but it still didnt work.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

API key not orking , error 401 unauthorized error please check your android api key

Hello,

Please show us screen shots:

1 Google settings where you have this key.
2 Appery.io push notification settings.

Thanks.

ScaryFace87
Posts: 0
Joined: Sun Jun 21, 2015 9:55 am

API key not orking , error 401 unauthorized error please check your android api key

Hi ,

I solved it Thank you for ur help!
The problem was that GCM was disabled on my google acc , after enabling it it worked! Sorry for ur time

Greetings

krrish
Posts: 0
Joined: Wed Jun 01, 2016 11:55 am

API key not orking , error 401 unauthorized error please check your android api key

Hi!

May I Know how you enabled GCM in your google account. I am getting the same error and when I am trying to enable GCM in my account then it is asking for GCM API key or C2DM client login token. May I know what is this key ?

Thanks.

Return to “Issues”