zoukankan      html  css  js  c++  java
  • Getting 'The AWS Access Key Id you provided does not exist in our records' error with Amazon MWS

    I upgraded from one version of Amazon MWS (marketplace web service) version

            https://mws.amazonservices.com/Orders/2011-01-01 

    to

            https://mws.amazonservices.com/Orders/2013-09-01 

    and started getting the following error:

    The AWS Access Key Id you provided does not exist in our records.

    The keys are all correct and double checked.

    ===================================

    Someone at Amazon decided to change the order of parameters for some reason...

    IMarketplaceWebServiceOrders service = new MarketplaceWebServiceOrdersClient(                  applicationName,                  applicationVersion,                  accessKeyId,                  secretAccessKey,                  config); 

    to

    MarketplaceWebServiceOrders service = new MarketplaceWebServiceOrdersClient(                  accessKeyId,                  secretAccessKey,                  applicationName,                  applicationVersion,                  config); 

    So obviously it compiles but fails.

    Just switch them and it will work. Hopefully they didn't switch anything else important like this in the API.

  • 相关阅读:
    响应头中的 ETag 值是如何生成的
    http请求状态码
    RPC 和 REST 有什么优劣
    comet 长轮询与 node 实现
    HTTPS 加密
    iterm2 快捷键
    static in C/C++
    03-树3 Tree Traversals Again
    2016.03.19随笔
    03-树2 List Leaves
  • 原文地址:https://www.cnblogs.com/chjf2008/p/3662176.html
Copyright © 2011-2022 走看看