腾讯微博 check sign error

               

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


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

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

{"data":null,"errcode":-102,"msg":"check sign error","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":"check sign error","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加上,发现错误依旧。


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

           

猜你喜欢

转载自blog.csdn.net/qq_44912644/article/details/89599036