太过平凡的小蚂蚁 2015-09-03 11:52 采纳率: 26.9%
浏览 4360

极光推送api测试总返回1002..。

C:\Users\Yx>curl --insecure -X POST -v https://api.jpush.cn/v3/push/validate -H "Content-Type: application/json" -u "7d431e42dfa6a6d693ac2d04:5e987ac6d2e04d95a9d8f0d1" -d '{"platform":"all","audience":"all","notification":{"alert":"alert"},"options":{"sendno":1356663295,"apns_production":false}}'

  • Adding handle: conn: 0x2144610
  • Adding handle: send: 0
  • Adding handle: recv: 0
  • Curl_addHandleToPipeline: length: 1
  • - Conn 0 (0x2144610) send_pipe: 1, recv_pipe: 0
  • About to connect() to api.jpush.cn port 443 (#0)
  • Trying 119.90.34.208...
  • Connected to api.jpush.cn (119.90.34.208) port 443 (#0)
  • SSLv3, TLS handshake, Client hello (1):
  • SSLv3, TLS handshake, Server hello (2):
  • SSLv3, TLS handshake, CERT (11):
  • SSLv3, TLS handshake, Server finished (14):
  • SSLv3, TLS handshake, Client key exchange (16):
  • SSLv3, TLS change cipher, Client hello (1):
  • SSLv3, TLS handshake, Finished (20):
  • SSLv3, TLS change cipher, Client hello (1):
  • SSLv3, TLS handshake, Finished (20):
  • SSL connection using RC4-SHA
  • Server certificate:
  • subject: C=CN; ST=GuangDong; L=Shenzhen; O=Shenzhen HeXunHuaGu Information Technologies Co., Ltd; CN=*.jpush.cn
  • start date: 2015-07-27 00:00:00 GMT
  • expire date: 2017-08-20 23:59:59 GMT
  • issuer: C=US; O=GeoTrust Inc.; CN=GeoTrust SSL CA - G3
  • SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
  • Server auth using Basic with user '7d431e42dfa6a6d693ac2d04' > POST /v3/push/validate HTTP/1.1 > Authorization: Basic N2Q0MzFlNDJkZmE2YTZkNjkzYWMyZDA0OjVlOTg3YWM2ZDJlMDRkOTVhOWQ4ZjBkMQ== > User-Agent: curl/7.33.0 > Host: api.jpush.cn > Accept: / > Content-Type: application/json > Content-Length: 106 >
  • upload completely sent off: 106 out of 106 bytes < HTTP/1.1 400 BAD REQUEST
  • Server nginx is not blacklisted < Server: nginx < Date: Thu, 03 Sep 2015 10:44:33 GMT < Content-Type: application/json < Transfer-Encoding: chunked < Connection: keep-alive < X-Rate-Limit-Limit: 600 < X-Rate-Limit-Remaining: 599 < X-Rate-Limit-Reset: 60 < {"error": {"message": "Missing parameter", "code": 1002}}* Connection #0 to host api.jpush.cn left intact 明明推送串没有问题。但是就是不行,请求解答! 谢谢
  • 写回答

1条回答 默认 最新

  • threenewbee 2015-09-03 14:14
    关注

    1002:app_key doesn't exist
    检查你的app_key,如果还不行,和他们的技术支持联系

    评论

报告相同问题?

悬赏问题

  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试,帮帮忙吧
  • ¥15 #MATLAB仿真#车辆换道路径规划