Troubleshooting Windows errors
| Error | Description | What to do |
|---|---|---|
| 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:
| Check the wns_content field value in the request. |
| FailedToGetWNSToken | The following reasons can cause the error:
| С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. |
|
| 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. |