小程序auth.code2Session返回43003?

发布于 7 年前作者 yujun7823 次浏览最后编辑 7 年前来自 ask
使用小程序wx.login接口返回code及小程序appid通过服务器端调用auth.code2Session(https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=JSCODE&grant_type=authorization_code)

返回如下:{“errcode”:43003,“errmsg”:“require https, hints: [ req_id: pencpAMre-_rQ7.A ]”}

请问这是什么意思?

2 回复
juan71
juan711 楼6 年前

你好,请提供appid、完整请求、返回信息、操作时间

guiyingyao
guiyingyao2 楼5 年前

没人吗?我的也出现这个问题了