[In-App Notifications Web] 401 - Unauthorized

Forge Component
(5)
Published on 2017-09-15 by Labs
5 votes
Published on 2017-09-15 by Labs

Hello guys,


I'm trying to use the sample app, I've generated a new projectId and secret code, but I continue to receive a 401 - Unauthorized whenever I call Firebase. Any tips on how to solve this one?


I suspect that it's some configuration missing in Firebase, but can't find anything left.


Regards,

José Gomes

Hi José.

Please take a look at this Post.

Hope this helps.


Cheers,
Rui Mendes



Solution

Check your firebase database rules. They might be read: false, write: false. You need to change that.


Also, make sure you have the right url in the Firebase Web > Integrations > Consumed REST APIs > FirebaseDatabase

Solution

Thanks Roman and Rui! Both of your answers helped! :)