| 错误 | 描述 | 解决方法 |
| 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.
| Check 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. |
- 确保您的应用清单中的包名与在配置平台时于 Pushwoosh Control Panel 中指定的凭据匹配。
- 仔细检查请求中提供的访问令牌是否与请求通道 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. |