我的API请求是这样的(摘录):
[method] => POST
[uri] => Array
(
[scheme] => https
[host] => mws.amazonservices.com
[port] => 443
[user] =>
[pass] =>
[path] => /
[query] => Array
(
[AWSAccessKeyId] => xxx
[Action] => SubmitFeed
[FeedType] => _POST_FLAT_FILE_FULFILLMENT_DATA_
[Marketplace] => xxx
[Merchant] => xxx
[SignatureMethod] => HmacSHA256
[SignatureVersion] => 2
[Timestamp] => 2012-04-04T11:42:54Z
[Version] => 2009-01-01
[Signature] => xxx=
)
响应我得到了这个,如果我在那里输入相同的数据,它也与我从scratchpad得到的相同。
Array
(
[ErrorResponse] => Array
(
[xmlns] => http://mws.amazonaws.com/doc/2009-01-01/
[Error] => Array
(
[Type] => Sender
[Code] => AccessDenied
[Message] => Access to Feeds.SubmitFeed is denied
)
[RequestID] => bac7376f-1b2b-41ae-b2d2-de974b217ee7
)
)
除了API响应中的错误,我得到“用户权限不足”。当我尝试访问此网址时https://sellercentral.amazon.com/gp/mws/registration/register.html具有讽刺意味的是,在我使用联系表单后,亚马逊网址告诉我注册...
为什么会出现此错误?我错过了什么?在这个该死的乱七八糟的乱七八糟的页面和注册的地方,我忘了注册或同意某事?
答案 0 :(得分:1)
你在美国地区开户吗?
也许您应该更改'host'参数
[host] => mws-de.amazonservices.com