Your request params is invalid. Please check them according to error message. java 服务

xieliyang
2018-08-14 06:45 5.4k 0

```
{"platform":"all","audience":{"registration_id":["4A6D045FB7538C9DE0531B1EA8C013C8","5935DB8662F2E30FE05860AA8C0BCE6"]},"notification":{"android":{"alert":"有新的挂牌房源更新,再不来看别人就抢走了。","extras":{"type":"sale","orderId":"3768998"},"builder_id":1,"title":"有新的挂牌房源更新,再不来看别人就抢走了。"},"ios":{"alert":"有新的挂牌房源更新,再不来看别人就抢走了。","extras":{"type":"sale","orderId":"3768998"},"badge":"0","sound":"default"}},"message":{"msg_content":"有新的挂牌房源更新,再不来看别人就抢走了。","extras":{"type":"sale","orderId":"3768998"}},"options":{"sendno":915231216,"time_to_live":0,"apns_production":false}}

[ERROR] 2018-08-14 14:23:06 NativeHttpClient@(NativeHttpClient.java:203):Your request params is invalid. Please check them according to error message.
[ERROR] 2018-08-14 14:23:06 JPusher@(JPusher.java:242):Should review the error, and fix the request
{}
at cn.jiguang.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:235)
at cn.jiguang.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:99)
at cn.jiguang.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:86)
at cn.jpush.api.push.PushClient.sendPush(PushClient.java:160)
at cn.jpush.api.JPushClient.sendPush(JPushClient.java:193)
at com.dp.app.core.common.tools.JPusher.sendAll(JPusher.java:235)
at com.dp.app.core.common.tools.JPusher.main(JPusher.java:56)

2个回答

热门排序
  • 找到问题了,就是因为别名跟客户端没对应上。。。。谢谢您的指教。

  • Please check them according to error message. 请根据详细的报错来排查问题,catch 具体的错误码code和Message 根据当前参数来看,你的registrationID值是错误非法的h 展示全部