华为服务端推送参数非法?

问题描述

Hi,大家好,我在使用华为服务端推送的时候遇到了参数非法的问题,想请问哪位老铁能帮我看看是缺少哪个参数 吗?

推送内容

Array
(
    [nsp_ts] => 1503371363
    [nsp_fmt] => JSON
    [access_token] => CFmk2uXbdAN749DMEhEb6O6uycoPvwfescbfddXZu7EhwiMakTKGTHZH1YGVLqF3jSz9jMrBbsvZhSCdilOveA==
    [push_type] => 1
    [tokens] => 0864264020863996300000649100CN01
    [tags] =>
    [exclude_tags] =>
    [android] => {"notification_title":"hello world","notification_content":"hello world content","notification_status_icon":"","content_file_url":"","doing":1,"smsContent":"","mmsUrl":"","url":"","intent":"","extra":""}
    [send_time] => 1503371363
    [expire_time] => 1503457763
    [device_type] => 1
    [message] =>
    [target_user_type] =>
    [allow_periods] =>
    [nsp_svc] => openpush.openapi.notification_send
)

返回的错误码

"{\"result_desc\":\"Illegal parameter\",\"result_code\":80200001,\"request_id\":\"150337136611424039595000000\"}"

谢谢啦!

拉莫斯之舞
浏览 871回答 3
3回答

湖上湖

那边的文档没有对错误码的解释?

胡子哥哥

楼主是怎么解决的,我也是遇到这个问题,求解!!!
打开App,查看更多内容
随时随地看视频慕课网APP