微信errcode大全

版权声明: https://blog.csdn.net/Liuboxx1/article/details/83829810
$errArr = [
            '-1'    => '{"errMsg":"system error","errDesc":"系统繁忙,此时请开发者稍候再试"}',
            '40009' => '{"errMsg":"Invalid image size","errDesc":"图片大小为0或者超过1M"}',
            '40097' => '{"errMsg":"invalid args","errDesc":"参数不正确,请参考字段要求检查json 字段"}',
            '65104' => '{"errMsg":"invalid category","errDesc":"门店的类型不合法,必须严格按照附表的分类填写"}',
            '65105' => '{"errMsg":"invalid photo url","errDesc":"图片url 不合法,必须使用接口1 的图片上传接口所获取的url"}',
            '65106' => '{"errMsg":"poi audit state must be approved","errDesc":"门店状态必须未审核通过"}',
            '65107' => '{"errMsg":"not allow modify","errDesc":"扩展字段为不允许修改的状态"}',
            '65109' => '{"errMsg":"invalid business","errDesc":"门店名为空"}',
            '65110' => '{"errMsg":"invalid address","errDesc":"门店所在详细街道地址为空"}',
            '65111' => '{"errMsg":"invalid telephone","errDesc":"门店的电话为空"}',
            '65112' => '{"errMsg":"invalid city","errDesc":"门店所在的城市为空"}',
            '65113' => '{"errMsg":"invalid province","errDesc":"门店所在的省份为空"}',
            '65114' => '{"errMsg":"empty photo list","errDesc":"图片列表为空"}',
            '65115' => '{"errMsg":"invalid poi id","errDesc":"poi_id 不正确"}',
            '0' => '{"errMsg":"","errDesc":"请求成功"}',
            '40001' => '{"errMsg":"","errDesc":"获取 access_token 时 AppSecret 错误,或者 access_token 无效。请开发者认真比对 AppSecret 的正确性,或查看是否正在为恰当的公众号调用接口"}',
            '40002' => '{"errMsg":"","errDesc":"不合法的凭证类型"}',
            '40003' => '{"errMsg":"","errDesc":"不合法的 OpenID ,请开发者确认 OpenID (该用户)是否已关注公众号,或是否是其他公众号的 OpenID"}',
            '40004' => '{"errMsg":"","errDesc":"不合法的媒体文件类型"}',
            '40005' => '{"errMsg":"","errDesc":"不合法的文件类型"}',
            '40006' => '{"errMsg":"","errDesc":"不合法的文件大小"}',
            '40007' => '{"errMsg":"","errDesc":"不合法的媒体文件 id"}',
            '40008' => '{"errMsg":"","errDesc":"不合法的消息类型"}',
            '40010' => '{"errMsg":"","errDesc":"不合法的语音文件大小"}',
            '40011' => '{"errMsg":"","errDesc":"不合法的视频文件大小"}',
            '40012' => '{"errMsg":"","errDesc":"不合法的缩略图文件大小"}',
            '40013' => '{"errMsg":"","errDesc":"不合法的 AppID ,请开发者检查 AppID 的正确性,避免异常字符,注意大小写"}',
            '40014' => '{"errMsg":"","errDesc":"不合法的 access_token ,请开发者认真比对 access_token 的有效性(如是否过期),或查看是否正在为恰当的公众号调用接口"}',
            '40015' => '{"errMsg":"","errDesc":"不合法的菜单类型"}',
            '40016' => '{"errMsg":"","errDesc":"不合法的按钮个数"}',
            '40017' => '{"errMsg":"","errDesc":"不合法的按钮个数"}',
            '40018' => '{"errMsg":"","errDesc":"不合法的按钮名字长度"}',
            '40019' => '{"errMsg":"","errDesc":"不合法的按钮 KEY 长度"}',
            '40020' => '{"errMsg":"","errDesc":"不合法的按钮 URL 长度"}',
            '40021' => '{"errMsg":"","errDesc":"不合法的菜单版本号"}',
            '40022' => '{"errMsg":"","errDesc":"不合法的子菜单级数"}',
            '40023' => '{"errMsg":"","errDesc":"不合法的子菜单按钮个数"}',
            '40024' => '{"errMsg":"","errDesc":"不合法的子菜单按钮类型"}',
            '40025' => '{"errMsg":"","errDesc":"不合法的子菜单按钮名字长度"}',
            '40026' => '{"errMsg":"","errDesc":"不合法的子菜单按钮 KEY 长度"}',
            '40027' => '{"errMsg":"","errDesc":"不合法的子菜单按钮 URL 长度"}',
            '40028' => '{"errMsg":"","errDesc":"不合法的自定义菜单使用用户"}',
            '40029' => '{"errMsg":"","errDesc":"不合法的 oauth_code"}',
            '40030' => '{"errMsg":"","errDesc":"不合法的 refresh_token"}',
            '40031' => '{"errMsg":"","errDesc":"不合法的 openid 列表"}',
            '40032' => '{"errMsg":"","errDesc":"不合法的 openid 列表长度"}',
            '40033' => '{"errMsg":"","errDesc":"不合法的请求字符,不能包含 \uxxxx 格式的字符"}',
            '40035' => '{"errMsg":"","errDesc":"不合法的参数"}',
            '40038' => '{"errMsg":"","errDesc":"不合法的请求格式"}',
            '40039' => '{"errMsg":"","errDesc":"不合法的 URL 长度"}',
            '40050' => '{"errMsg":"","errDesc":"不合法的分组 id"}',
            '40051' => '{"errMsg":"","errDesc":"分组名字不合法"}',
            '40060' => '{"errMsg":"","errDesc":"删除单篇图文时,指定的 article_idx 不合法"}',
            '40117' => '{"errMsg":"","errDesc":"分组名字不合法"}',
            '40118' => '{"errMsg":"","errDesc":"media_id 大小不合法"}',
            '40119' => '{"errMsg":"","errDesc":"button 类型错误"}',
            '40120' => '{"errMsg":"","errDesc":"button 类型错误"}',
            '40121' => '{"errMsg":"","errDesc":"不合法的 media_id 类型"}',
            '40132' => '{"errMsg":"","errDesc":"微信号不合法"}',
            '40137' => '{"errMsg":"","errDesc":"不支持的图片格式"}',
            '40155' => '{"errMsg":"","errDesc":"请勿添加其他公众号的主页链接"}',
            '41001' => '{"errMsg":"","errDesc":"缺少 access_token 参数"}',
            '41002' => '{"errMsg":"","errDesc":"缺少 appid 参数"}',
            '41003' => '{"errMsg":"","errDesc":"缺少 refresh_token 参数"}',
            '41004' => '{"errMsg":"","errDesc":"缺少 secret 参数"}',
            '41005' => '{"errMsg":"","errDesc":"缺少多媒体文件数据"}',
            '41006' => '{"errMsg":"","errDesc":"缺少 media_id 参数"}',
            '41007' => '{"errMsg":"","errDesc":"缺少子菜单数据"}',
            '41008' => '{"errMsg":"","errDesc":"缺少 oauth code"}',
            '41009' => '{"errMsg":"","errDesc":"缺少 openid"}',
            '42001' => '{"errMsg":"","errDesc":"access_token 超时,请检查 access_token 的有效期,请参考基础支持 - 获取 access_token 中,对 access_token 的详细机制说明"}',
            '42002' => '{"errMsg":"","errDesc":"refresh_token 超时"}',
            '42003' => '{"errMsg":"","errDesc":"oauth_code 超时"}',
            '42007' => '{"errMsg":"","errDesc":"用户修改微信密码, accesstoken 和 refreshtoken 失效,需要重新授权"}',
            '43001' => '{"errMsg":"","errDesc":"需要 GET 请求"}',
            '43002' => '{"errMsg":"","errDesc":"需要 POST 请求"}',
            '43003' => '{"errMsg":"","errDesc":"需要 HTTPS 请求"}',
            '43004' => '{"errMsg":"","errDesc":"需要接收者关注"}',
            '43005' => '{"errMsg":"","errDesc":"需要好友关系"}',
            '43019' => '{"errMsg":"","errDesc":"需要将接收者从黑名单中移除"}',
            '44001' => '{"errMsg":"","errDesc":"多媒体文件为空"}',
            '44002' => '{"errMsg":"","errDesc":"POST 的数据包为空"}',
            '44003' => '{"errMsg":"","errDesc":"图文消息内容为空"}',
            '44004' => '{"errMsg":"","errDesc":"文本消息内容为空"}',
            '45001' => '{"errMsg":"","errDesc":"多媒体文件大小超过限制"}',
            '45002' => '{"errMsg":"","errDesc":"消息内容超过限制"}',
            '45003' => '{"errMsg":"","errDesc":"标题字段超过限制"}',
            '45004' => '{"errMsg":"","errDesc":"描述字段超过限制"}',
            '45005' => '{"errMsg":"","errDesc":"链接字段超过限制"}',
            '45006' => '{"errMsg":"","errDesc":"图片链接字段超过限制"}',
            '45007' => '{"errMsg":"","errDesc":"语音播放时间超过限制"}',
            '45008' => '{"errMsg":"","errDesc":"图文消息超过限制"}',
            '45009' => '{"errMsg":"","errDesc":"接口调用超过限制"}',
            '45010' => '{"errMsg":"","errDesc":"创建菜单个数超过限制"}',
            '45011' => '{"errMsg":"","errDesc":"API 调用太频繁,请稍候再试"}',
            '45015' => '{"errMsg":"","errDesc":"回复时间超过限制"}',
            '45016' => '{"errMsg":"","errDesc":"系统分组,不允许修改"}',
            '45017' => '{"errMsg":"","errDesc":"分组名字过长"}',
            '45018' => '{"errMsg":"","errDesc":"分组数量超过上限"}',
            '45047' => '{"errMsg":"","errDesc":"客服接口下行条数超过上限"}',
            '46001' => '{"errMsg":"","errDesc":"不存在媒体数据"}',
            '46002' => '{"errMsg":"","errDesc":"不存在的菜单版本"}',
            '46003' => '{"errMsg":"","errDesc":"不存在的菜单数据"}',
            '46004' => '{"errMsg":"","errDesc":"不存在的用户"}',
            '47001' => '{"errMsg":"","errDesc":"解析 JSON/XML 内容错误"}',
            '48001' => '{"errMsg":"","errDesc":"api 功能未授权,请确认公众号已获得该接口,可以在公众平台官网 - 开发者中心页中查看接口权限"}',
            '48002' => '{"errMsg":"","errDesc":"粉丝拒收消息(粉丝在公众号选项中,关闭了 “ 接收消息 ” )"}',
            '48004' => '{"errMsg":"","errDesc":"api 接口被封禁,请登录 mp.weixin.qq.com 查看详情"}',
            '48005' => '{"errMsg":"","errDesc":"api 禁止删除被自动回复和自定义菜单引用的素材"}',
            '48006' => '{"errMsg":"","errDesc":"api 禁止清零调用次数,因为清零次数达到上限"}',
            '48008' => '{"errMsg":"","errDesc":"没有该类型消息的发送权限"}',
            '50001' => '{"errMsg":"","errDesc":"用户未授权该 api"}',
            '50002' => '{"errMsg":"","errDesc":"用户受限,可能是违规后接口被封禁"}',
            '50005' => '{"errMsg":"","errDesc":"用户未关注公众号"}',
            '61451' => '{"errMsg":"","errDesc":"参数错误 (invalid parameter)"}',
            '61452' => '{"errMsg":"","errDesc":"无效客服账号 (invalid kf_account)"}',
            '61453' => '{"errMsg":"","errDesc":"客服帐号已存在 (kf_account exsited)"}',
            '61454' => '{"errMsg":"","errDesc":"客服帐号名长度超过限制 ( 仅允许 10 个英文字符,不包括 @ 及 @ 后的公众号的微信号 )(invalid kf_acount length)"}',
            '61455' => '{"errMsg":"","errDesc":"客服帐号名包含非法字符 ( 仅允许英文 + 数字 )(illegal character in kf_account)"}',
            '61456' => '{"errMsg":"","errDesc":"客服帐号个数超过限制 (10 个客服账号 )(kf_account count exceeded)"}',
            '61457' => '{"errMsg":"","errDesc":"无效头像文件类型 (invalid file type)"}',
            '61450' => '{"errMsg":"","errDesc":"系统错误 (system error)"}',
            '61500' => '{"errMsg":"","errDesc":"日期格式错误"}',
            '65301' => '{"errMsg":"","errDesc":"不存在此 menuid 对应的个性化菜单"}',
            '65302' => '{"errMsg":"","errDesc":"没有相应的用户"}',
            '65303' => '{"errMsg":"","errDesc":"没有默认菜单,不能创建个性化菜单"}',
            '65304' => '{"errMsg":"","errDesc":"MatchRule 信息为空"}',
            '65305' => '{"errMsg":"","errDesc":"个性化菜单数量受限"}',
            '65306' => '{"errMsg":"","errDesc":"不支持个性化菜单的帐号"}',
            '65307' => '{"errMsg":"","errDesc":"个性化菜单信息为空"}',
            '65308' => '{"errMsg":"","errDesc":"包含没有响应类型的 button"}',
            '65309' => '{"errMsg":"","errDesc":"个性化菜单开关处于关闭状态"}',
            '65310' => '{"errMsg":"","errDesc":"填写了省份或城市信息,国家信息不能为空"}',
            '65311' => '{"errMsg":"","errDesc":"填写了城市信息,省份信息不能为空"}',
            '65312' => '{"errMsg":"","errDesc":"不合法的国家信息"}',
            '65313' => '{"errMsg":"","errDesc":"不合法的省份信息"}',
            '65314' => '{"errMsg":"","errDesc":"不合法的城市信息"}',
            '65316' => '{"errMsg":"","errDesc":"该公众号的菜单设置了过多的域名外跳(最多跳转到 3 个域名的链接)"}',
            '65317' => '{"errMsg":"","errDesc":"不合法的 URL"}',
            '9001001' => '{"errMsg":"","errDesc":"POST 数据参数不合法"}',
            '9001002' => '{"errMsg":"","errDesc":"远端服务不可用"}',
            '9001003' => '{"errMsg":"","errDesc":"Ticket 不合法"}',
            '9001004' => '{"errMsg":"","errDesc":"获取摇周边用户信息失败"}',
            '9001005' => '{"errMsg":"","errDesc":"获取商户信息失败"}',
            '9001006' => '{"errMsg":"","errDesc":"获取 OpenID 失败"}',
            '9001007' => '{"errMsg":"","errDesc":"上传文件缺失"}',
            '9001008' => '{"errMsg":"","errDesc":"上传素材的文件类型不合法"}',
            '9001009' => '{"errMsg":"","errDesc":"上传素材的文件尺寸不合法"}',
            '9001010' => '{"errMsg":"","errDesc":"上传失败"}',
            '9001020' => '{"errMsg":"","errDesc":"帐号不合法"}',
            '9001021' => '{"errMsg":"","errDesc":"已有设备激活率低于 50% ,不能新增设备"}',
            '9001022' => '{"errMsg":"","errDesc":"设备申请数不合法,必须为大于 0 的数字"}',
            '9001023' => '{"errMsg":"","errDesc":"已存在审核中的设备 ID 申请"}',
            '9001024' => '{"errMsg":"","errDesc":"一次查询设备 ID 数量不能超过 50"}',
            '9001025' => '{"errMsg":"","errDesc":"设备 ID 不合法"}',
            '9001026' => '{"errMsg":"","errDesc":"页面 ID 不合法"}',
            '9001027' => '{"errMsg":"","errDesc":"页面参数不合法"}',
            '9001028' => '{"errMsg":"","errDesc":"一次删除页面 ID 数量不能超过 10"}',
            '9001029' => '{"errMsg":"","errDesc":"页面已应用在设备中,请先解除应用关系再删除"}',
            '9001030' => '{"errMsg":"","errDesc":"一次查询页面 ID 数量不能超过 50"}',
            '9001031' => '{"errMsg":"","errDesc":"时间区间不合法"}',
            '9001032' => '{"errMsg":"","errDesc":"保存设备与页面的绑定关系参数错误"}',
            '9001033' => '{"errMsg":"","errDesc":"门店 ID 不合法"}',
            '9001034' => '{"errMsg":"","errDesc":"设备备注信息过长"}',
            '9001035' => '{"errMsg":"","errDesc":"设备申请参数不合法"}',
            '9001036' => '{"errMsg":"","errDesc":"查询起始值 begin 不合法"}',
        ];
展开阅读全文

没有更多推荐了,返回首页