Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

iOS Push Notification Error "DeviceTokenNotForTopic"

Environment

Service Notifications (Backend Services)
Feature Push Notifications

Description

Sending push notifications to iOS devices is failing. In Telerik Platform push browser the reason for the failure is "DeviceTokenNotForTopic".

Error Message

DeviceTokenNotForTopic.

Cause

This error is returned from the Apple Push Notficiation service (APNs) when the presented push notifications token attributes does not match the topic specified at the time of sending. In the context of Telerik Platform this means the token was issued to an app with a given Apple App ID but the server push SSL certificate is configured for another Apple App ID. When the service is sending the push notifications to APNs they determine the topic (usually this is the App ID) and know how to address the notification to the particular device. In this case the topic (read "App ID") does not match on the device, hence the error.

Solution

Ensure that the Apple App ID of the provisioning profile with which the application is deployed to a device is matching the Apple App ID for which the server push SSL certificate is configured. For example, you have deployed the app with the provisioning profile for com.mycompany.mypushapp but on the server you have uploaded a push certificate for com.mycompany.myusuallapp.

See Also

Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.