commercetools:请求范围不足

时间:2016-02-24 10:49:55

标签: commercetools

当我尝试获取产品时,我收到错误消息“范围不足”:

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

[问题源于内部支持请求。]

1 个答案:

答案 0 :(得分:0)

当商标工具的令牌无效时,会出现此错误消息,例如,它适用于其他项目。

要从此问题中恢复create a new token for the project