> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Why Does the "DeviceTokenNotForTopic" Error Occur?

> Fix the DeviceTokenNotForTopic error in iOS push by ensuring the correct Bundle Identifier is used with your uploaded PEM file or AuthKey.

## 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.
