腾讯微博 check sign error

使用腾讯微博时遇到了这个问题,微博无法发布, 返回 {"data":null,"errcode":-100,"msg":"check sign error","ret":3} 。 腾讯官方没有对应此错误的说明,遂问谷姐、度娘; 发现一堆类似错误, 如下:


{"data":null,"errcode":-22,"msg":"checksignerror","ret":3} http://open.t.qq.com/bbs/forum.php?mod=viewthread&tid=53443&highlight=check%2Bsign%2Berror

{"data":null,"errcode":-111,"msg":"checksignerror","ret":3} http://open.t.qq.com/bbs/forum.php?mod=viewthread&tid=12831

{"data":null,"errcode":-102,"msg":"checksignerror","ret":3} http://open.t.qq.com/bbs/forum.php?mod=viewthread&tid=12626

{"data":null,"errcode":-103,"msg":"check sign error","ret":3} http://blog.csdn.net/codestiny/article/details/6675518

{"data":null,"errcode":-3180,"msg":"check sign error","ret":3} http://www.eoeandroid.com/forum.php?mod=viewthread&tid=167636

{"data":null,"errcode":-3133,"msg":"checksignerror","ret":3} http://open.t.qq.com/bbs/forum.php?mod=viewthread&tid=52641&highlight=check%2Bsign%2Berror


这个问题很诡异,不是每次都发生, 我用的是oAuth2.0, 所传参数如下:

https://open.t.qq.com/api/t/add_pic?format=json&content=xx&oauth_consumer_key=xxx&access_token=xxx&openid=xxx&clientip=127.0.0.1&oauth_version=2.a&scope=all

看了下官方文档http://wiki.open.t.qq.com/index.php/API%E6%96%87%E6%A1%A3#category_3, 以为是没传clientip引起,又把clientip加上,发现错误依旧。


腾讯啊, 这么多未知的异常, 这不是折腾开发者么..

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值