Page 1 of 1

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

Posted: Sun Jun 21, 2015 9:55 am
by ScaryFace87

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


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

Posted: Sun Jun 21, 2015 4:53 pm
by Alena Prykhodko

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.


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

Posted: Sun Jun 21, 2015 5:05 pm
by ScaryFace87

Hello ,

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


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

Posted: Tue Jun 23, 2015 1:15 am
by Yurii Orishchuk

Hello,

Please show us screen shots:

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

Thanks.


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

Posted: Tue Jun 23, 2015 3:45 pm
by ScaryFace87

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


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

Posted: Fri Jun 10, 2016 1:52 am
by krrish

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.