{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/zh/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"错误代码","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"错误代码","__idx":0},"children":["错误代码"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["本页列出了 MoreLogin API 返回的常见错误代码。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"响应格式","__idx":1},"children":["响应格式"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["所有 API 响应都遵循以下标准格式："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"code\": 0,\n  \"msg\": null,\n  \"data\": {},\n  \"requestId\": \"unique-request-id\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"字段"},"children":["字段"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"类型"},"children":["类型"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["整数"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," = 成功，",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[">0"]}," = 错误"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["msg"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["字符串"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["错误信息（成功时为空）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["对象"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["响应数据"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["requestId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["字符串"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["用于故障排除的唯一请求标识符"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"常见错误代码","__idx":2},"children":["常见错误代码"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"一般错误","__idx":3},"children":["一般错误"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"代码"},"children":["代码"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"解决方案"},"children":["解决方案"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["成功"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["99001"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["无效参数"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["检查请求正文格式和必填字段"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["99002"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["权限被拒绝"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["检查您的帐户权限"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["99003"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["请求例外"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["请根据回复进行必要的业务调整"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["99004"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["请求正文太大"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["检查您的请求正文"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["超出速率限制"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["降低请求频率并延迟后重试"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"浏览器错误本地-api","__idx":4},"children":["浏览器错误（本地 API）"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"代码"},"children":["代码"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"解决方案"},"children":["解决方案"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["浏览器已在运行"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["首先使用 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/api/env/close"]}," 关闭浏览器"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["101"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["找不到浏览器环境"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["验证 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["envId"]}," 或 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uniqueId"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["102"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MoreLogin 客户端未运行"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["启动 MoreLogin 桌面应用程序"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["103"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["需要加密密钥"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["为加密的浏览器环境提供 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["encryptKey"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"云手机错误开放api","__idx":5},"children":["云手机错误（开放API）"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"代码"},"children":["代码"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"解决方案"},"children":["解决方案"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["云手机离线"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["先将云手机开机"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["201"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["应用程序安装失败"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["检查 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["appVersionId"]}," 或 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["packageName"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["202"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文件上传失败"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["验证文件 URL 和目标路径"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"http-状态代码","__idx":6},"children":["HTTP 状态代码"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"状态"},"children":["状态"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["请求已处理（检查 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}," 字段以获取业务结果）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["未经授权 - 访问令牌无效或过期"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["禁止 — 权限不足"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["请求过多 — 超出速率限制"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["500"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["内部服务器错误 — 联系支持人员"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["提示"]},"：联系支持人员时，请始终包含响应中的 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["requestId"]},"，以便更快地进行故障排除。"]}]}]},"headings":[{"value":"错误代码","id":"错误代码","depth":1},{"value":"响应格式","id":"响应格式","depth":2},{"value":"常见错误代码","id":"常见错误代码","depth":2},{"value":"一般错误","id":"一般错误","depth":3},{"value":"浏览器错误（本地 API）","id":"浏览器错误本地-api","depth":3},{"value":"云手机错误（开放API）","id":"云手机错误开放api","depth":3},{"value":"HTTP 状态代码","id":"http-状态代码","depth":2}],"frontmatter":{"seo":{"title":"错误代码"}},"lastModified":"2026-06-10T11:47:34.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/zh/api-reference/getting-started/error-codes","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}