Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with push notifications: applicationServerKey is not valid #13

Open
julia-r opened this issue Mar 17, 2021 · 0 comments
Open

Error with push notifications: applicationServerKey is not valid #13

julia-r opened this issue Mar 17, 2021 · 0 comments

Comments

@julia-r
Copy link

julia-r commented Mar 17, 2021

Hello,

I am trying to get push notifications running. The service worker seems to register fine, but when I try to subscribe, I get this error message in Chrome (version 89.0.4389.90):
pwa.js:182 PWA: Unable to subscribe to Push DOMException: Failed to execute 'subscribe' on 'PushManager': The provided applicationServerKey is not valid.

Here is my test setup: https://pwa-test.gruenewuerfel.de/

I noticed that in the config.js Line 36 it says 'YOURAPIPUBLICKEY' Do I need to replace that with something? What kind of key do I need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant