Skip to content

Push notification troubleshooting

A troubleshooting guide for when a notification does not arrive, or does not arrive to the right people. Follow the order: it goes from the most frequent cause to the least.

Checks

  1. Did they accept notifications? If not, there is no token_md5 for that device and there is nothing to send to.
  2. Did they uninstall and reinstall the app? The token changes; the old one is no longer valid.
  3. Do they have notifications turned off in the system settings for that app?
  4. Is the token included in the audience of the send?

Common causes

Permission never granted, an obsolete token after a reinstall, or targeting that did not include that device. See users, devices and tokens.

Checks

  1. Does the pattern follow the operating system? A failure only on iOS or only on Android points to that platform’s configuration.
  2. Do the devices that do not receive it have old tokens?
  3. Was the audience built from a CSV exported some time ago?

Common causes

Normal degradation of the token base, or an audience built on outdated data.

The notification arrives but does not open the right content

Section titled “The notification arrives but does not open the right content”

Checks

  1. Is the URL in the url field correct and public?
  2. Does it belong to a domain associated with the app? See deep links.
  3. Has the URL been rewritten by a tracking tool?

Checks

  1. Is the x-api-key header correct and is the key still active?
  2. Does the payload include the required fields: title, heading and the recipients in deviceId?
  3. Is dateEnd, if you send it, a Unix timestamp in seconds and in the future?
  4. Are the deviceId values current hashed installation IDs and not identifiers of another kind?

See push notifications API.

The more of this information the ticket includes, the less back and forth:

  • App identifier and environment.
  • Approximate date and time of the send, with time zone.
  • How the send was made: backoffice or API.
  • If it was via API, the payload sent without the API key and the response received.
  • One or two specific identifiers of devices that did not receive the notification.
  • Operating system and version of the affected devices.
  • Whether the problem is widespread or only on some devices.