使用基础库 2.21.2 用code去服务端调用 getPhoneNumber报错?

发布于 5 年前作者 xiulanbai12034 次浏览最后编辑 5 年前来自 issues

使用基础库 2.21.2 用code去服务端调用 getPhoneNumber报错 errcode:41001,“errmsg”:"access_token missing rid,可服务端的access_token没有问题,使用同样的access_token都可以成功发送模版消息。



2 回复
junpan
junpan1 楼4 年前

这个报错是说 access_token 传空了,而 access_token 拼接在接口后面的。。。

POST https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=xxxxxxx

mali
mali2 楼2 个月前

missing 就是没传过去,跟token有没有失效没关系