Error code

跳转到: 导航, 搜索

错误代码说明

错误返回值格式

JSON

{
	"request" : "/statuses/home_timeline.json",
	"error_code" : "20502",
	"error" : "Auth failed!"
}

错误代码说明

20502

2

05

02

服务级错误(1为系统级错误)

服务模块代码

具体错误代码

错误代码对照表

系统级错误代码

10001 Service internal error 服务出错
10002 Service currently unavailable 服务暂停
10003 Remote service error 远程服务出错
10004 Rate limit 超过频率限制
10005 Http method not permitted HTTP方法被禁止
10006 Missing source parameter 缺少Source参数
10007 Invalid format 无效数据格式
10008 Parameter error 参数错误
10009 Invalid signature 无效签名
10010 Invalid timestamp 非法的时间戳参数
10011 Missing timestamp 缺少时间戳参数
10012 Forbidden request 请求被禁止
10013 Authentication failed 认证失败
10014 Insufficient app permissions 开发者权限不足
10015 Insufficient user permissions 用户权限不足
10016 Miss required parameter 缺少必要参数
10017 Parameter (%s)'s value invalid,expect (%s),but get (%s),see doc for more info 参数值非法,希望得到(%s),实际得到(%s),请参考API文档
10018 Post too big 上传文件太大了
10019 IP limit IP限制,不能请求该资源
10020 Username and pwd auth out of rate limit 用户名密码认证超过请求限制
10021 HTTP method is not suported for this request 请求的HTTP方法不支持
10022 Password error 密码不正确
10023 Too many pending tasks,system is busy 任务过多,系统繁忙
10024 Job expired 任务超时
10025 RPC error RPC错误
10026 Wrong number of arguments 参数个数错误
10027 Parameter value is not valid 参数值错误
10028 Unsupported response format 不支持的返回格式
10029 Link forbidden 受禁止的链接
10030 IP not authenticated 未认证的IP
10031 Illegal request 非法请求

服务级错误代码

20001 IDs is null IDs参数为空
- - -
20101 Target weibo does not exist 不存在的微博
20102 Not your own weibo 不是你发布的微博
20103 Can't repost yourself weibo 不能转发自己的微博
20104 Illegal weibo 不合法的微博
20105 Unsupported image type, only suport JPG, GIF, PNG 不支持的图片类型,仅仅支持JPG、GIF、PNG
20106 Image size error, must be less than 5M bytes 图片大小错误,上传的图骗不能超过5M
20107 Image error, does multipart has image 图片错误,请确保使用multpart上传了图片
20108 Content is null 内容为空
20109 Weibo id is null 微博id为空
20110 Too many weibo ids, see doc for more info 微博ids过多,请参考API文档
20111 Repeated weibo text 不能发布相同的微博
20112 Text too long, please input text less than 140 characters 输入文字太长,请确认不超过140个字符
20113 Text too long, please input text less than 300 characters 输入文字太长,请确认不超过300个字符
20114 Weibo id error 微博id不存在
20115 Update weibo out of rate limit 发布微博超过上限
- - -
20201 Target weibo comment does not exist 不存在的微博评论
20202 Illegal comment 不合法的评论
20203 Not your own comment 不是你发布的评论
20204 Comment id is null 评论id为空
20205 Update comment out of rate limit 发布评论超过上限
20206 Repeated comment text 不能发布相同的评论
- - -
20301 Can't send direct message to user who is not your follower 不能给不是你粉丝的人发私信
20302 Illegal direct message 不合法的私信
20303 Not your own direct message 不是属于你的私信
20304 Direct message out of rate limit 私信发布超过上限
20305 Direct message does not exist 不存在的私信
20306 Repeated directmessage text 不能发布相同的私信
- - -
20401 User does not exists 用户不存在
20402 Uid parameter is error Uid参数错误
20403 Uid parameter is null Uid参数为空
20404 Appkey parameter is null Appkey参数缺失
20405 Domain parameter is error 域名参数错误
20406 School is null 学校代码是空值
20407 Year format error Year格式错误
20408 Domain not exist 域名不存在
20409 User requests out of rate limit 用户请求超过上限
20410 Invalid weibo user 不合法的微博用户
- - -
20501 Source_user or target_user does not exists Source_user或者target_user用户不存在
20502 Need you follow uid Uid必须是你关注的用户
20503 Accessor was revoked 授权关系已经被删除
20504 Already followed 已经关注此用户
20505 Social graph updates out of rate limit 加关注请求超过上限
- - -
20601 List name too long 列表名太长
20602 List description too long 列表描叙太长
20603 List does not exists 列表不存在
20604 Only the owner has the authority 不是列表的所有者
20605 Illegal list name or list description 列表名或描述不合法
20606 Insert failed, object already exists 插入失败,记录已存在
20607 DB error, please contact the administator 数据库错误,请联系系统管理员
20608 List name duplicate 列表名冲突
20609 List ids is too many 列表ids太长了
20610 Does not support private list 目前不支持私有分组
20611 Create list error 创建列表失败
20612 Only support private list 目前只支持私有分组
20613 You hava subscriber too many lists 不能订阅更多的列表
20614 Too many lists, see doc for more info 列表创建上限,请参考API文档
20615 Too many members, see doc for more info 列表成员上限,请参考API文档
- - -
20701 Repeated tag text 不能提交相同的标签
20702 Tags is too many 标签达到上限
20703 Illegal tag name 标签名不合法
- - -
20801 Trend_name is null 话题名是空值
20802 Trend_id is null 话题id是空值
- - -
21001 Tags parameter is null 标签参数为空
21002 Tags name too long 标签名太长
- - -
21301 Token parameter is null token参数为空
21302 Wrong verifier verifier错误
21303 Applications over the unaudited use restrictions 未审核的应用使用人数超过限制
21304 Version rejected 版本号错误
21305 Parameter absent 缺少必要的参数
21306 Parameter rejected Oauth参数被拒绝
21307 Timestamp refused 时间戳不正确
21308 Nonce used nonce参数已经被使用
21309 Signature method rejected 签名算法不支持
21310 Signature invalid 签名值不合法
21311 Consumer key unknown consumer_key不存在
21312 Consumer key refused consumer_key不合法
21313 Token used token已经被使用
21314 Token expired token已经过期
21315 Token revoked token不合法
21316 Token rejected token不合法
21317 Verifier fail pin码认证失败
- - -
21501 Urls is null urls是空的
21502 Urls is too many urls太多了
21503 Ip is null ip是空值
21504 Url is null url是空值
- - -
21601 Manage notice error, need auth 需要系统管理员的权限
21602 Contains forbid world 含有敏感词
21603 Applications send notice over the restrictions 通知发送达到限制
- - -
21701 Manage remind error, need auth 提醒失败,需要权限
21702 Invalid category 无效分类
21703 Invalid status 无效状态码
- - -
21901 Geo code input error 地理信息输入错误
- - -
22001 photo id illegal 相片ID非法