• Resolved lolotutu

    (@lolotutu)


    Hi,
    When I try to connect to the API, I get the message :
    “Failed authentication. Error: InvalidClientTokenId: The AWS Access Key Id you provided does not exist in our records. Locale: FR Domain: webservices.amazon.fr”
    I specify that :
    1) My access key/access ID work fine with scratchpad
    2) They also workfine with the plugin “WooCommerce Amazon Affiliates”
    3) They also workfine with the plugin “Amazon Product in a Post”
    I also disconnected all my plugin except amazon auto links
    Clear plugin cache
    Still doesn’t work

    Thanks for your help

    Laurent turbin

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    You can test whether your keys are valid using ScratchPad. Try these steps.

    1. Go to Scratchpad (https://webservices.amazon.com/scratchpad/index.html).
    2. From the left sidebar, navigate to “Select operation” -> “SEARCH” -> “ItemSearch”
    3. Fill the form.
    a) In the “Common parameters” section, fill the followings,
    – Marketplace: webservices.amazon.<your locale>
    – Associate Tag: your associate tag issued by Amazon Associates
    – Access Key ID: the one issued by Amazon Associates
    – Secret Access Key: the one issued by Amazon Associates
    b) In the “Request parameters” section, fill the followings,
    – Searchindex: All
    – Keywords: WordPress
    – ResponseGroup: Images, ItemAttributes, Offers (keep this untouched)
    4. Press the “Run request” button.

    If successful, products should be listed at the bottom part of the page. Let me know what you get.

    Hi,
    Thanks for your answer
    I did again the test you told me with scratchpad => success
    But as I told you in my post, 1) My access key/access ID work fine with scratchpad
    And they also work fine with plugin AAWP, WooCommerce Amazon Affiliates and Amazon Product in a Post …

    Plugin Author miunosoft

    (@miunosoft)

    Oh, I missed that you have already tried ScratchPad, sorry.

    Can you try clearing plugin caches by going to Dashboard -> Amazon Auto Links -> Settings -> Cache -> Caches -> Clear All Caches?

    Let me know if that works or not.

    Hi,
    I also already cleared caches
    Please read carefully my first post 🙂
    Still cannot connect to API …

    Plugin Author miunosoft

    (@miunosoft)

    Ops. Sorry again.

    I suspect you are trying to connect the FR server with the access keys created with a different locale.

    In the Authentication setting page, can you try the different locales in the Server Locale option? I assume you are selecting FR now. Try with US and so on and see what happens. Try with all of them until it succeeds. And post the error messages for all the locales you try as they can help detecting the cause.

    Hi,
    Thanks for you help. I performed the connection test and this is what I get :

    1 )I can connect to webservices.amazon.cn 🙂

    2) For french domain .FR, I get this msg :
    “Failed authentication.
    Error: InvalidClientTokenId: The AWS Access Key Id you provided does not exist in our records. Locale: FR Domain: webservices.amazon.fr”

    3) For all others domain , I get htis message :
    “Failed authentication.
    Error: AWS.InvalidAssociate: Your XXXXXXXXXXXXX is not registered as an Amazon Associate. Please register as an associate at https://associates.amazon.ca/assoc_credentials/home. Locale: XX Domain: webservices.amazon.XX”

    Plugin Author miunosoft

    (@miunosoft)

    Okay,

    So it means that you created keys with the Chinese account. Are you sure ScratchPad gave you the same error? I suggest you check what happens if you change the locale on ScratchPad.

    Most likely you need to create access keys with the French account if you want to display products from the French server. You should be able to create keys from the Amazon Associates account page (https://partenaires.amazon.fr/). By the way, it used to be only possible to issue API keys from the AWS account page before. Also, it used to be possible to fetch products of foreign locales with a single pair of keys but Amazon seems to have changed their rules not to allow it.

    Why would I create from chinese account ? I dont speak chinese 🙂 and I dont sell to chinese people.
    No, no, no
    I have created my credentials using french server. It was almost one year ago.
    And as I told you in my first post(please, read it carefully), these keys work fine with plugin “WooCommerce Amazon Affiliates” and “Amazon Product in a Post”, using french server.
    These plugin are direct competitor to you.
    So why do these keys work fine with them and not with your plugin ?

    Plugin Author miunosoft

    (@miunosoft)

    Hmm,

    Did you set your Associate ID in the Authentication page? If not, try setting it and see if it makes any difference. If you don’t find the input field, update the plugin to the latest.

    Also tell me the plugin version.

    If you want me to test your keys on my end, I’d be happy to do that. In that case, shoot me an email from the contact page.

    Hello
    That’s it! The connection to the French server has been done since this morning (without changing anything on my side since yesterday). The Mysteries of computer science 😉
    Thank you for your patience and your help

    Plugin Author miunosoft

    (@miunosoft)

    That is strange.

    Anyway, glad to hear the keys are working.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.