WeChat Official Account Return Code Instructions (Favorites)

  Every time you want to see the status represented by the return code, you have to go to the official website of the WeChat public account, which is too troublesome. Take this treasure to collect it!
return code Error code description illustrate
40001 invalid credential Invalid call credentials
40002 invalid grant_type invalid grant_type
40003 invalid openid Invalid OpenID
40004 invalid media type Invalid media file type
40007 invalid media_id invalid media_id
40008 invalid message type invalid message_type
40009 invalid image size illegal image size
40010 invalid voice size illegal voice size
40011 invalid video size illegal video size
40012 invalid thumb size Invalid thumbnail size
40013 invalid appid Invalid AppID
40014 invalid access_token invalid access_token
40015 invalid menu type Invalid menu type
40016 invalid button size Invalid number of menu buttons
40017 invalid button type Invalid button type
40018 invalid button name size Invalid button name length
40019 invalid button key size Invalid button KEY length
40020 invalid button url size invalid url length
40023 invalid sub button size Invalid number of submenu buttons
40024 invalid sub button type Invalid submenu type
40025 invalid sub button name size Invalid submenu button name length
40026 invalid sub button key size Invalid submenu button KEY length
40027 invalid sub button url size 不合法的子菜单按钮url长度
40029 invalid code 不合法或已过期的code
40030 invalid refresh_token 不合法的refresh_token
40036 invalid template_id size 不合法的template_id长度
40037 invalid template_id 不合法的template_id
40039 invalid url size 不合法的url长度
40048 invalid url domain 不合法的url域名
40054 invalid sub button url domain 不合法的子菜单按钮url域名
40055 invalid button url domain 不合法的菜单按钮url域名
40066 invalid url 不合法的url
41001 access_token missing 缺失access_token参数
41002 appid missing 缺失appid参数
41003 refresh_token missing 缺失refresh_token参数
41004 appsecret missing 缺失secret参数
41005 media data missing 缺失二进制媒体文件
41006 media_id missing 缺失media_id参数
41007 sub_menu data missing 缺失子菜单数据
41008 missing code 缺失code参数
41009 missing openid 缺失openid参数
41010 missing url 缺失url参数
42001 access_token expired access_token超时
42002 refresh_token expired refresh_token超时
42003 code expired code超时
43001 require GET method 需要使用GET方法请求
43002 require POST method 需要使用POST方法请求
43003 require https 需要使用HTTPS
43004 require subscribe 需要订阅关系
44001 empty media data 空白的二进制数据
44002 empty post data 空白的POST数据
44003 empty news data 空白的news数据
44004 empty content 空白的内容
44005 empty list size 空白的列表
45001 media size out of limit 二进制文件超过限制
45002 content size out of limit content参数超过限制
45003 title size out of limit title参数超过限制
45004 description size out of limit description参数超过限制
45005 url size out of limit url参数长度超过限制
45006 picurl size out of limit picurl参数超过限制
45007 playtime out of limit 播放时间超过限制(语音为60s最大)
45008 article size out of limit article参数超过限制
45009 api freq out of limit 接口调动频率超过限制
45010 create menu limit 建立菜单被限制
45011 api limit 频率限制
45012 template size out of limit 模板大小超过限制
45016 can't modify sys group 不能修改默认组
45017 can't set group name too long sys group 修改组名过长
45018 too many group now, no need to add new 组数量过多
50001 api unauthorized 接口未授权

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325866637&siteId=291194637