JShare SDK ErrorCode 定义
最近更新:2021-12-15

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
40008 SinaRedirectUri missing 缺失 SinaRedirectUri 参数
40009 not install app 没安装客户端
40010 unfinished initialization 未完成初始化
40011 shareParams missing 缺少 shareParams
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 长度超过限制
41007 app url size out of limit app url 长度超过限制
41008 app size out of limit app 大小超过限制
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 nil 图片参数为nil
41015 audio url is nil 音频 url 参数为nil
41016 video url is nil 视频 url 参数为nil
41017 app url is nil app Url 参数为nil
41018 emotion is nil emotion 参数为nil
41019 file is nil 文件参数为nil
41020 image count out of limit 图片数量超过限制
41021 url is nil Url 参数为nil
41022 text is nil 文本参数为nil
41023 fileExt size out of limit fileExt 超过限制
41024 sinaObjectId size out of limit sinaObjectId 超过限制
41025 title is nil title 参数为nil
41026 invalid url 非法 url
41027 file not exist 文件不存在
41028 text and url size out of limit 文本和url长度超过限制
41029 share image and video together 同时分享图片和视频
41030 userName is nil 参数username为nil
41031 path is nil 参数path为nil
41032 videoData is nil videoData为nil
41033 miniProgramType is invalid 无效的miniProgramType
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 该状态的内容已经过验证的帐户发布
文档内容是否对您有帮助?

Copyright 2011-2022, jiguang.cn, All Rights Reserved. 粤ICP备12056275号-13 深圳市和讯华谷信息技术有限公司

在文档中心打开