Skip to navigation

PushServiceInvalidTokenError (error class)

Web SDK v5 API reference
View as Markdown

Errors

Thrown when the push token provided to PushService.registerPushToken or PushService.unregisterPushToken is empty or consists entirely of whitespace characters.

To resolve this, ensure that a valid, non-empty token string obtained from the push service provider is passed in the options object before calling these methods.

See: PushService.registerPushToken, PushService.unregisterPushToken

Since: 5.2.0

See also

PushService.registerPushToken, PushService.unregisterPushToken