ToothlessGear / node-gcm

A NodeJS wrapper library port to send data to Android devices via Google Cloud Messaging
https://github.com/ToothlessGear/node-gcm
Other
1.31k stars 206 forks source link

GCM send link has been changed #128

Closed eliranswisa-zz closed 9 years ago

eliranswisa-zz commented 9 years ago

Hi,

I am getting error 401 every time with a correct API key. It looks like the link used to send a request is wrong. Current link is https://android.googleapis.com/gcm/send when it should send to
https://gcm-http.googleapis.com/gcm/send

Thanks.

eliranswisa-zz commented 9 years ago

That's not the issue, sorry.

hypesystem commented 9 years ago

I hope you figure out what your problem is :)

BahgatMashaly commented 8 years ago

i think it's api key problem or not enable google cloud messages in google cpnsole for your application

eladnava commented 8 years ago

@mashaly100200 That actually makes a lot of sense. 401 is definitely authentication-related.