I am implementing push notifications from my server to the users who are subscribed to my server.

Right now sending the push notifications to Firefox users works like a charm. However, on Chrome I get an Unauthorized Registration error. I am using Django as a backend.

In this image are the relevant parts of the error and my code (email edited), aswell as the subscription. If any more information is needed please let me know.

Does anyone know why I can't send push notifications on Chrome?

And I am using [this library.](https://github.com/web-push-libs/web-push/)
[![Image](https://i.stack.imgur.com/XsGMW.png)](https://i.stack.imgur.com/XsGMW.png)