Common Issues and Reporting Bugs

Matt Gaunt

When you hit an issue with web push, it can be difficult to debug the issue or find help. This doc outlines some of the common issues and what you should do if you've found a bug in Chrome or Firefox.

Before we dive into debugging push, you may be hitting issues with debugging service workers themselves, the file not updating, failing to register or generally just unusual behavior. There is an awesome document on debugging service workers that I strongly recommend checking out if you are new to service worker development.

There are two distinct stages to check off when developing and testing web push, each with its own set of common issues / problems:

  • Sending a Message: Make sure that sending messages is successful. You should be getting a 201 HTTP code. If you aren't :
  • Receiving a Message: If you're able to send a message successfully, but the message is not received on the browser:

If you aren't able to send and receive a