The meaning of the error code displayed on the calling interface of the WeChat official account

The meaning of the error code displayed on the calling interface of the WeChat official account

image-20220123235200564

 

Return Code Description
-1 The system is busy, please try again later.
0 The request is successful
. 40001 The AppSecret is wrong when obtaining the access_token, or the access_token is invalid. Please developers carefully compare the correctness of the AppSecret, or check whether the interface is being called for the appropriate Official Account
40002 Illegal credential type
40003 Illegal OpenID, please confirm whether the OpenID (the user) has followed the official account, or Whether it is the OpenID of another official account
40004 Illegal media file type
40005 Illegal file type
40006 Illegal file size
40007 Illegal media file id
40008 Illegal message type
40009 Illegal image file size
40010 Illegal Voice file size
40011 Illegal video file size
40012 Illegal thumbnail file size
40013 Illegal AppID, please check the correctness of the AppID, avoid abnormal characters, pay attention to capitalization
40014 Illegal access_token, please be serious Compare the validity of the access_token (such as whether it has expired), or check whether the interface is being called for the appropriate official account
40015 Illegal menu type
40016 Illegal number of buttons
40017 Illegal button type
40018 Illegal button name length
40019 Illegal button KEY length
40020 Illegal button URL length 40021
Illegal menu version number
40022 Illegal submenu levels
40023 Illegal number of submenu buttons
40024 Illegal submenu Menu button type
40025 Illegal submenu button name length
40026 Illegal submenu button KEY length
40027 Illegal submenu button URL length 40028
Illegal custom menu user
40029 Invalid oauth_code
40030 Illegal refresh_token
40031 No Legal openid list
40032 Illegal openid list length
40033 Illegal request characters, cannot contain \uxxxx format characters
40035 Illegal parameters
40038 Illegal request format
40039 Illegal URL length
40048 Invalid url
40050 Illegal Group id
40051 The group name is invalid
40060 When deleting a single article, the specified article_idx is invalid
40117 The group name is invalid
40118 Invalid size of media_id
40119 Incorrect button type 40120 Incorrect
sub-button type 40121 Invalid media_id type 40125 Invalid appsecret 40132 Invalid WeChat ID 40137 Unsupported image format 40155 Please do not add homepage links of other official accounts 40163 oauth_code already used 41001 missing access_token parameter 41002 missing appid parameter 41003 missing refresh_token parameter 41004 missing secret parameter 41005 missing multimedia file data 41006 missing media_id parameter 41007 missing submenu data 41008 missing oauth code 41009 missing openid 42001 access_token timeout, Please check the validity period of access_token, please refer to basic support - Get access_token, detailed mechanism description of access_token 42002 refresh_token timeout 42003 oauth_code timeout


















42007 The user modifies the WeChat password, the accesstoken and refreshtoken are invalid, and re-authorization is required
42010 The mass sending of the same media_id is too fast, please try again
43001 A GET request is required
43002 A POST request is required
43003 An HTTPS request is required
43004 The receiver’s attention is required
43005 Friendship is required
43019 The receiver needs to be connected Remove from blacklist
44001 Multimedia file is empty
44002 POST packet is empty
44003 Text message content is empty
44004 Text message content is
empty 45001 Multimedia file size exceeds limit
45002 Message content exceeds limit
45003 Title field exceeds limit
45004 Description field 45005
The link field exceeds the limit
45006 The image link field exceeds the limit
45007 The voice playback time exceeds the limit 45008 The
text message exceeds the limit 45009 The interface call exceeds the limit 45010 The number of created menus exceeds the limit
45011 API calls are too frequent, please try again later 45015 Reply The time exceeds the limit 45016 System grouping, modification is not allowed




45017 The group name is too long
45018 The number of groups exceeds the upper limit
45047 The number of downlinks of the customer service interface exceeds the upper limit
45064 The creation menu contains unassociated applets
45065 The same clientmsgid has a group sending record, and the returned data contains the msgid of the existing group sending task
45066 The same clientmsgid The retry speed is too fast, please retry every 1 minute
45067 clientmsgid length exceeds limit
46001 media data does not exist
46002 menu version does not exist
46003 menu data does not exist
46004 user does not exist
47001 parsing JSON/XML content error
48001 api function not available Authorization, please confirm that the official account has obtained this interface, and you can view the interface permissions on the official website of the official platform - developer center page 48002
Fans refuse to receive messages (fans turn off "receive messages" in the official account options)
48004 API interface is blocked , please log in to mp.weixin.qq.com to view the details.
48005 api prohibits deletion of materials referenced by automatic replies and custom menus.
48006 api prohibits the number of reset calls, because the number of reset calls has reached the upper limit.
48008 No permission to send messages of this type
50001 user Unauthorized the api
50002 The user is restricted, it may be that the interface is blocked after the violation
50005 The user did not follow the official account
53500 The publishing function was blocked
53501 Frequent request to publish
53502 Invalid Publish ID
53600 Invalid Article ID
61451 Parameter error (invalid parameter) 61452
Invalid customer service account (invalid kf_account)
61453 Customer service account already exists (kf_account exsited)
61454 customer service account The length of the name exceeds the limit (only 10 English characters are allowed, excluding the WeChat account of @ and the official account after @)(invalid kf_acount length) 61455 The customer service account
name contains illegal characters (only English + numbers are allowed)(illegal character in kf_account)
61456 The number of customer service accounts exceeds the limit (10 customer service accounts) (kf_account count exceeded)
61457 Invalid avatar file type (invalid file type)
61450 System error (system error)
61500 Date format error
63001 Some parameters are empty
63002 Invalid signature
65301 No There is a personalized menu corresponding to this menuid
65302 There is no corresponding user
65303 There is no default menu, and a personalized menu cannot be created
65304 The MatchRule information is empty
65305 The number of personalized menus is limited
65306 Accounts that do not support personalized menus
65307 The personalized menu information is empty
65308 There are buttons with no response type 65309 The
personalized menu switch is off
65310 The province or city information is filled in, The country information cannot be empty
65311 The city information is filled in, and the province information cannot be empty
65312 Illegal country information
65313 Illegal province information
65314 Illegal city information
65316 The menu of the official account has too many domain name jumps (at most Links to 3 domain names)
65317 Invalid URL
87009 Invalid signature
9001001 Invalid POST data parameters 9001002 Remote service
unavailable 9001003
Ticket invalid 9001007 The uploaded file is missing 9001008 The file type of the uploaded material is invalid 9001009 The file size of the uploaded material is invalid 9001010 The upload fails







9001020 The account is invalid.
9001021 The activation rate of existing devices is lower than 50%. New devices cannot be added. 9001022
The number of device applications is invalid and must be a number greater than 0. 9001025 Device ID is invalid. 9001026 Page ID is invalid. 9001027 Page parameter is invalid. 9001028 The number of deleted page IDs cannot exceed 10 at a time. The range is invalid. 9001032 The parameters for saving the binding relationship between the device and the page are incorrect. 9001033 The store ID is invalid. 9001034 The device remark information is too long. 9001035 The device application parameters are invalid. 9001036 The query start value begin is invalid.














 

 My Popular Article Recommendations

My video article recommendation

Guess you like

Origin blog.csdn.net/suny2020/article/details/126269448