当我尝试获取产品时,我收到错误消息“范围不足”:
curl -vsH "Authorization: Bearer MY_ACCESS_TOKEN" https://api.sphere.io/MY_PROJECT/products
输出:
* Hostname was NOT found in DNS cache
* Trying 162.13.76.39...
* Connected to api.sphere.io (162.13.76.39) port 443 (#0)
> GET /MY_PROJECT/products HTTP/1.1
> User-Agent: curl/7.37.1
> Host: api.sphere.io
> Accept: */*
> Authorization: Bearer MY_ACCESS_TOKEN
>
< HTTP/1.1 403 Forbidden
<
Insufficient scope
[问题源于内部支持请求。]