Hello CometChat Support Team,
I hope you’re doing well.
We are currently integrating CometChat VOIP calling in our iOS application to support call notifications across all app states — foreground, background, and terminated (kill state). However, we are currently facing a critical issue: incoming calls are not being received at all, regardless of the app’s state. As a result, the CallKit UI is not being triggered.
We are registering VOIP push tokens using CometChatNotifications.registerPushToken(), and have verified that the tokens are correctly generated and sent to CometChat.
Upon checking the push notification logs, we are seeing multiple failures with 400 response codes, along with the following error messages:
- “BadDeviceToken”
- “Reason not provided by APNs”
In some cases, we also observe a 404 error:
- “Requested entity was not found.”
We are currently using the following SDK versions:
CometChatSDKversion 4.0.62CometChatCallsSDKversion 4.1.2
These issues seem to be directly impacting our ability to receive VOIP calls. For reference, we have included a screenshot of the push notification error logs:
Screenshot
We would appreciate your help with the following:
- What are the potential reasons for
BadDeviceTokenandReason not provided by APNserrors? - What does the
404 - Requested entity was not foundmean in this context? - Could this issue be due to a misconfiguration or incorrect VOIP push setup?
Please let us know if you need any additional information from our side to investigate further.
Looking forward to your guidance and support on this issue.
Best regards,
Jenil shingala