HTTP常见Status Code及其含义
HTTP常见Status Code及其含义
错误码 | 错误信息提示 | Http Status Code |
1000 | 请求参数没有appkey或为空值 | 400 |
1001 | 请求参数没有payload或为非法json | 400 |
1002 | 请求参数payload中, 没有body或为非法json | 400 |
1003 | payload.display_type为message时, 请求参数payload.body中, 没有custom字段 | 400 |
1004 | 请求参数payload中, 没有display_type或为空值 | 400 |
1005 | 请求参数payload.body中, img格式有误, 需以http或https开始 | 400 |
1007 | payload.body.after_open为go_url时, 请求参数payload.body中, url格式有误, 需以http或https开始 | 400 |
1008 | payload.display_type为notification时, 请求参数payload.body中, 没有ticker参数 | 400 |
1009 | payload.display_type为notification时, 请求参数payload.body中, 没有title参数 | 400 |
1010 | payload.display_type为notification时, 请求参数payload.body中, 没有text参数 | 400 |
1014 | task_id对应任务没有找到 | 400 |
1015 | type为unicast或listcast时, 请求参数没有device_tokens或为空值 | 400 |
1016 | 请求参数没有type或为空值 | 400 |
1019 | 请求参数payload中, display_type值非法 | 400 |
1020 | 应用组中尚未添加应用 | 400 |
1022 | payload.body.after_open为go_url时, 请求参数payload.body中, 没有url参数或为空 | 400 |
1024 | payload.body.after_open为go_activity时, 请求参数payload.body中, 没有activity或为空值 | 400 |
1026 | 请求参数payload中, extra为非法json | 400 |
1027 | 请请求参数payload中, policy为非法json | 400 |
1028 | task_id对应任务无法撤销 | 400 |
2000 | 该应用已被禁用 | 400 |
2002 | 请求参数policy中, start_time必须大于当前时间 | 400 |
2003 | 请求参数policy中, expire_time必须大于start_time和当前时间 | 400 |
2004 | IP白名单尚未添加, 请到网站后台添加您的服务器IP或关闭IP白名单功能 | 400 |
2006 | Validation token不一致(PS: 此校验方法已废弃, 请采用sign进行校验) | 400 |
2007 | 未对请求进行签名 | 400 |
2008 | json解析错误 | 400 |
2009 | type为customizedcast时, 请求参数没有alias、file_id或皆为空值 | 400 |
2016 | type为groupcast时, 请求参数没有filter或为非法json | 400 |
2017 | 添加tag失败 | 400 |
2018 | type为filecast时, 请求参数没有file_id或为空值 | 400 |
2019 | type为filecast时, file_id对应的文件不存在 | 400 |
2021 | appkey不存在 | 400 |
2022 | payload长度过长 | 400 |
2023 | 文件上传失败, 请稍后重试 | 400 |
2025 | 请求参数没有aps或为非法json | 400 |
2027 | 签名不正确 | 400 |
2028 | 时间戳已过期 | 400 |
2029 | 请求参数没有content或为空值 | 400 |
2031 | filter格式不正确 | 400 |
2032 | 未上传生产证书, 请到Web后台上传 | 400 |
2033 | 未上传开发证书, 请到Web后台上传 | 400 |
2034 | 证书已过期 | 400 |
2035 | 定时任务发送时, 证书已过期 | 400 |
2036 | 时间戳格式错误 | 400 |
2039 | 请求参数policy中, 时间格式必须是yyyy-MM-dd HH:mm:ss | 400 |
2040 | 请求参数policy中, expire_time不能超过发送时间+7天 | 400 |
2046 | 请求参数policy中, start_time不能超过当前时间+7天 | 400 |
2047 | type为customizedcast时, 请求参数没有alias_type或为空值 | 400 |
2048 | type值须为unicast、listcast、filecast、broadcast、groupcast、groupcast中的一种 | 400 |
2049 | type为customizedcast时, 请求参数alias、file_id只可二选一 | 400 |
2050 | 发送频率超出限制,或超过免费版推送频率,可联系客服购买付费版提升推送频率 | 400 |
2052 | 请求参数没有timestamp或为空值 | 400 |
2053 | 请求参数没有task_id或为空值 | 400 |
2054 | IP不在白名单中, 请到网站后台添加您的服务器IP或关闭IP白名单功能 | 400 |
5001 | 证书解析bundle id失败, 请重新上传 | 400 |
5002 | 请求参数payload中p、d为友盟保留字段 | 400 |
5007 | certificate_revoked错误 | 400 |
5008 | certificate_unkown错误 | 400 |
5009 | handshake_failure错误 | 400 |
5010 | 配置使用Token Auth, 但未上传p8证书 | 400 |
6001 | 该app未开通服务端tag接口 | 400 |
6002 | 内部错误(iOS证书) | 400 |
6003 | 内部错误(数据库) | 400 |
6004 | 内部错误(TFS) | 400 |