微信errcode大全

Liuboxx1發表於2018-11-07
$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 不合法"}',
        ];

相關文章