calonso / rails-push-notifications

Rails iOS, Android and Windows Phone Push Notifications made easy!!
https://rubygems.org/gems/rails-push-notifications
MIT License
138 stars 44 forks source link

Unauthorized Error 401 #20

Closed hugoh59 closed 6 years ago

hugoh59 commented 6 years ago

I get the following error when trying to push the notifications:

RubyPushNotifications::GCM::GCMAuthError: <HTML>
<HEAD>
<TITLE>Unauthorized</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Unauthorized</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
hugoh59 commented 6 years ago

Ok I was using a wrong server key from FCM...