Why Does the "DeviceTokenNotForTopic" Error Occur?

Problem

The "DeviceTokenNotForTopic" error occurs when sending push notifications in iOS to a reachable user.

Explanation

This error happens if the PEM file or AuthKey(.p8 file) is uploaded with the wrong Bundle Identifier in the MoEngage dashboard.

Example

Suppose the app’s Bundle Identifier is com.xyz.moengage, but the Bundle identifier associated with the PEM/AuthKey is com.abc.moengage, this error will occur.

Solution

To resolve the "DeviceTokenNotForTopic" error, the development team must address the abovementioned issue.

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?