极光推送的时候一直出现code: 1011

wo836466499
2017-10-23 08:19 6k 0

返回值:{"msg_id": 29273398865228399, "error": {"message": "cannot find user by this audience", "code": 1011}}
我请求内容是:
{"platform":"all","audience":{"registration_id":["170976fa8ab8a66b722"]},"notification":{"android":{"alert":"测试推送","extras":{"productidortype":"4,2"},"title":"测试推送"},"ios":{"alert":"测试推送","extras":{"productidortype":"4,2"},"badge":"+1","sound":"sound.caf"}},"message":{"title":"测试推送","msg_content":"这是推送内容","extras":{"productidortype":"4,2","from":"JPush"}},"options":{"sendno":1,"time_to_live":86400,"apns_production":false}}

1个回答

热门排序