正式环境cn.jpush.api.common.APIRequestException: The remote server returned an error: (400) Bad Request.

Navy
2017-11-09 07:35 2k 0

测试环境是可以发送成功的,
在正式环境上推送的时候会出现如下异常
发送通知失败,错误信息:

cn.jpush.api.common.APIRequestException: The remote server returned an error: (400) Bad Request.
   at cn.jpush.api.common.BaseHttpClient.sendRequest(String method, String url, String auth, String reqParams)
   at cn.jpush.api.common.BaseHttpClient.sendPost(String url, String auth, String reqParams)
   at cn.jpush.api.push.PushClient.sendPush(String payloadString)
   at cn.jpush.api.push.PushClient.sendPush(PushPayload payload)
   at cn.jpush.api.JPushClient.SendPush(PushPayload payload)
   at PushMessage.PushClient.sendNotification(PushMessage message)

着急,求答案。

1个回答

热门排序