Skip to main content

Status codes

SDK status codes

APNs push status codes

The following lists error codes, causes, and recommended actions you may encounter during push testing after uploading an APNs push certificate in the console.

Error CodeCauseAction
5, 8Incorrect device token information.Check whether the device is jailbroken, verify that the token passed to CommsayChat.registerDevicePushToken(_:pushMode:completionHandler:) is valid, and confirm that the provisioning profile used in Xcode matches the current environment (sandbox vs. production).
52The user ID does not exist in the current environment.Verify that the connection succeeded and that the App Key used in NCEngine.initialize(_:) corresponds to the correct environment. The completion handler of NCEngine.connect(params:dbOpenedHandler:completionHandler:) returns the logged-in user ID — confirm it matches the user ID used in your push test.
53The uploaded push certificate is empty.Check and re-upload the certificate. Verify that the Bundle ID you entered in the console matches the Bundle ID embedded in the certificate.
54, 62The uploaded certificate or certificate password is incorrect.Check the certificate password, re-upload the certificate, and verify that the Bundle ID you entered matches the one in the certificate.
55The user ID is not currently logged in on an iOS device.Check whether the connection on the iOS device succeeded and whether multiple clients are connected with the same user ID.
57Failed to send Apple push notification.SSL parsing error — re-upload the certificate.
2, 56No device token is registered for this user ID.Check whether the device is jailbroken, whether the user has granted notification permissions, whether remote notification permission has been requested via UNUserNotificationCenter, and whether CommsayChat.registerDevicePushToken(_:pushMode:completionHandler:) was called after connecting.
58Failed to parse the original parameters.Contact support to resolve the issue.
60Socket error.Internal error — resend the push notification.
61Push notifications are blocked for this user ID.Check whether the client has disabled push notifications. If multiple clients or apps share the same App Key, check all client code for push-blocking logic.
3, 4, 6, 7, 64Network issue — push delivery failed.Network error — retry.
0, 1, 10, 255, 59Apple APNs server is temporarily unavailable.Wait and try again later.
66The uploaded certificate does not match the current environment (sandbox vs. production).Check the certificate environment and re-upload the correct one.
67The certificate password is incorrect.Check the certificate password and re-upload, or re-enter the correct password.
68The Bundle ID entered in the console does not match the Bundle ID in the certificate.Verify the Bundle ID you entered against the one embedded in the certificate.
70VoIP device token is empty.Confirm whether a VoIP device token has been registered for this device.
73No user information found — this user ID has never retrieved a Nexconn token.Re-obtain the user token from your server.
74The package name in the uploaded certificate does not match the configured package name.Verify that the package name (Bundle ID) in the uploaded certificate matches the configured package name in the console.
75The uploaded certificate contains a wildcard Bundle ID.Per Apple requirements, apps using a wildcard App ID cannot use APNs remote push notifications. Use an explicit Bundle ID instead.
1050APNs request timed out. The push notification may arrive late or may have failed.Network issue — retry.