Windows errors

Descriptions and solutions to common errors that may occur on the Windows platform

ErrorDescription

BadChannel

The push token (URI) is invalid or not recognized by WNS.

Check the push token and try again.

BadRequest

The following reasons can cause the error:

  • An invalid value was specified in the wns_content field (it is empty or contains incorrectly encoded XML).

  • An HTTP request to the WNS service failed.

Check the wns_content field value in the request.

FailedToGetWNSToken

The following reasons can cause the error:

  • WNS is currently unavailable (this reason is more common).

  • WNS authentication failed due to invalid credentials.

Сheck the credentials and try again later.

InvalidToken

The push token is invalid; the device will be unsubscribed from notifications.

Use the valid token.

Overload

WNS push limit exceeded: WNS can't handle the high number of pushes sent.

Try reducing the number of pushes you send.

PayloadTooLarge

The message size exceeds the 5000-byte limit.

Reduce the message size.

TokenForWrongChannel

The push token is invalid for the credentials used to send the push.

  • Ensure that the package name in your app's manifest matches the credentials specified in the Pushwoosh Control Panel when configuring the platform.

  • Double-check whether the access token provided in the request matches the credentials of the app that requested the channel URI.

Unregistered

The push token is invalid; the device will be unsubscribed from notifications.

Try using a new token.

WNSFailed

An internal WNS failure caused notification delivery to fail.

Try sending the message again later.

WNSUnavailable

Multiple attempts to send a message to the device within 10 minutes were unsuccessful, as the WNS server did not respond.

Try sending the message again later.

Last updated

#1685:

Change request updated