JShare SDK ErrorCode 定义
以下列表里的 ErrorCode 有可能在 SDK 的调用过程中出现。供参考理解其含义。
Code | Error Message | 说明 |
---|---|---|
40001 | appid missing | 缺失 appid 参数 |
40002 | appkey missing | 缺失 appkey 参数 |
40003 | secret missing | 缺失 secret 参数 |
40004 | mediaType missing | 缺失 mediaType 参数 |
40005 | invalid mediaType | 不合法的 mediaType |
40006 | platform missing | 缺失 platform 参数 |
40007 | invalid platform | 不合法的 platform |
40009 | not install app | 没安装客户端 |
40010 | unfinished initialization | 未完成初始化 |
40011 | shareParams missing | 缺少 shareParams |
40012 | platform haven’t configuration | platform 没配置 |
40013 | appname missing | 缺失 appname 参数 |
41001 | text size out of limit | 文本参数长度超过限制 |
41002 | image url size out of limit | 图片链接字段长度超过限制 |
41003 | image size out of limit | 图片大小超过限制 |
41004 | url size out of limit | url 长度超过限制 |
41005 | audio url size out of limit | 音频 url 长度超过限制 |
41006 | video url size out of limit | 视频 url 长度超过限制 |
41009 | file size out of limit | 文件大小超过限制 |
41010 | emotion size out of limit | emotion 大小超过限制 |
41011 | title size out of limit | title 参数超过限制 |
41012 | description size out of limit | description 参数超过限制 |
41013 | thumb size out of limit | 缩略图参数超过限制 |
41014 | image is empty | 图片参数为空 |
41015 | audio url is empty | 音频 url 参数为空 |
41016 | video url is empty | 视频 url 参数为空 |
41017 | video url is empty | 视频 path 参数为空 |
41018 | emotion is empty | emotion 参数为空 |
41019 | file is empty | 文件参数为空 |
41019 | image count out of limit | 图像计数超出限制 |
41021 | url is empty | url 参数为空 |
41022 | text is empty | 文本参数为空 |
41023 | text and title is empty | 标题和文本都为空 |
41025 | title is empty | title 为空 |
41026 | invalid url | 非法 url |
41027 | file not exist | 文件不存在 |
41028 | text and url size out of limit | 文本和url长度超过限制 |
41029 | can’t share image and video together | 不能同时分享图片和视频 |
41030 | Mini Program userName is Empty. | userName 参数为空 |
41031 | Mini Program Type Error. | 小程序类型错误 |
41032 | thumb size out of limit or thumb is null. | 图片为空或超出限制 |
42001 | invalid credential | 不合法的调用凭证 |
50001 | get access token error | 获取access token 错误 |
50002 | share failed | 分享失败 |
50003 | get userinfo failed | 获取用户信息失败 |
50004 | auth failed | 授权失败 |
50005 | this platform unsupported authorize | 平台不支持授权 |
50006 | Invalid or expired token | 无效或过期的token |
50007 | Unable to verify your credentials | 无法验证你的凭证 |
50008 | Internal error | 发生未知的内部错误 |
50009 | Status is a duplicate | 该状态的内容已经过验证的帐户发布 |