Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

60706: Invalid Push Token

Twilio Messaging DocumentationMessaging

Description

description page anchor

This error occurs when you register an iOS device for push notifications and the PushToken value is empty or not a valid APNs device token. When you create an apn Binding, use the device token returned by iOS as the Binding Address.

Possible causes

possible-causes page anchor
  • The app sent an empty PushToken value when it tried to register the device.
  • The app converted the APNs device token incorrectly. On iOS 13 and later, parsing [deviceToken description] can produce an invalid token string. Build the token as a hexadecimal string from the raw bytes instead.
  • The app tried to create the Binding before iOS finished registering for remote notifications and returned a device token.
  • The app's push configuration does not match the app build that generated the token, such as a bundle identifier mismatch.
  • Wait until iOS successfully registers for remote notifications, then submit the returned device token when you register the device.
  • For apn Bindings, send the APNs device token as the Binding Address. Do not send an empty string, placeholder value, or a token from another push provider.
  • Convert the iOS deviceToken from bytes to a hexadecimal string. Do not rely on [deviceToken description] on iOS 13 and later.
  • Confirm that your Apple push setup uses an explicit bundle identifier that matches the bundle identifier in Xcode, then register the device again with a fresh token from that app.

Additional resources

additional-resources page anchor