Unable to send push notifications
Closed this issue · 3 comments
jeankhawand commented
local.WARNING: Notification failed to sent for subscription https://fcm.googleapis.com/fcm/send/: Client error: POST https://fcm.googleapis.com/fcm/send/ resulted in a 403 Forbidden response:
the key in the authorization header does not correspond to the sender ID used to subscribe this user. Please ensure you (truncated...)
Any idea ?
viaativaweb commented
I just had the same issue...
viaativaweb commented
it was caused by pushManager.subscribe using a different VAPID_PUBLIC_KEY
than the one in the .env file
rimace commented
Good to know the cause... And what was the fix?