你好, 这里店铺授权关系正常 ,可以通过api(https://open.youzanyun.com/auth/token) post方式正常获取到access_token 有效期7天
然后参数用这个access_token 调用 https://open.youzanyun.com/api/youzan.trades.sold.get/4.0.4
debug查看过request Content-Type 设置的是 “application/json”
参数只使用了一个 access_token
request内容是 {"access_token":"d93086b*******7bd*cd*****836704"} 星号是我发帖替换的。
返回的response是 {"gw_err_resp":{"trace_id":"yz7-0ae85bdd-1747988743775-729675","err_msg":"非法的请求凭证","err_code":4201}}
请问有什么可能的原因吗?谢谢。
如果使用有赞的api调试网页放回的是
{
"gw_err_resp": {
"trace_id": "yz7-0a35003d-1747989747860-196121",
"err_msg": "源IP地址123.207.175.151非法调用有赞云,请完成IP地址确认后,前往应用中心控制台进行IP白名单配置",
"err_code": 4007
}
}
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|