eBay errorId 1100:“权限不足,无法满足请求”

问题描述 投票:0回答:1

我已请求具有范围的OAuth令牌:

  • https://api.ebay.com/oauth/api_scope/sell.account.readonly
  • https://api.ebay.com/oauth/api_scope/sell.account

我生成一个新的OAuth应用程序令牌用于生产并尝试这样运行getPrivileges

curl -H "Authorization: Bearer myOAuthToken" https://api.ebay.com/oauth/api_scope/sell.account

输出是错误消息:

{"errors":[{
"errorId":1100,
"domain":"ACCESS",
"category":"REQUEST",
"message":"Access denied",
"longMessage":"Insufficient permissions to fulfill the request."
}]}

...但是我希望状态返回“ 200 OK”。我知道curl通话在执行类似操作时会起作用curl -H "Authorization: Bearer myOAuthToken" https://api.ebay.com/buy/browse/v1/item_summary/search?q=myQuery因此,我唯一能想到的就是范围,但是除非我弄错了,否则这些范围适用于getPrivileges调用。我想念什么吗?

html api curl oauth
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.