Title: api keys not working
Last modified: May 6, 2017

---

# api keys not working

 *  [timtekk](https://wordpress.org/support/users/timtekk/)
 * (@timtekk)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/api-keys-not-working/)
 * I am trying to connect from the amazon auto links plugin to connect to my amazon
   advertising api. I read this is required for search amazon via my website. However
   my access key and secret access never work. I consistently get an error stating“
   failed authentication”.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/api-keys-not-working/#post-9106576)
 * Hi,
 * Make sure you select the correct server locale.
 * Also you should try [Scratchpad](http://associates-amazon.s3.amazonaws.com/scratchpad/index.html).
   It can check whether you credentials are valid or not.
 *  Thread Starter [timtekk](https://wordpress.org/support/users/timtekk/)
 * (@timtekk)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/api-keys-not-working/#post-9106607)
 * I have done both. I select us – webservices.amazon.com. The other options are
   foreign countries, and I know my AWS is US based.
 * I’ve tried scratchpad as well. I’ve generated 3 keys all did not work.
 *  Thread Starter [timtekk](https://wordpress.org/support/users/timtekk/)
 * (@timtekk)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/api-keys-not-working/#post-9106628)
 * I do a service test on scratchpad and get this:
    <?xml version=”1.0″?> <GetServiceStatusResponse
   xmlns=”[http://mws.amazonservices.com/schema/Products/2011-10-01″&gt](http://mws.amazonservices.com/schema/Products/2011-10-01″&gt);
   <GetServiceStatusResult> <Status>GREEN</Status> <Timestamp>2017-05-07T21:18:24.360Z
   </Timestamp> </GetServiceStatusResult> <ResponseMetadata> <RequestId>b182686c-
   fd38-45e9-9f04-09b6a7660bc4</RequestId> </ResponseMetadata> </GetServiceStatusResponse
   >
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/api-keys-not-working/#post-9107020)
 * Looks like you are doing it for MWS.
 * Why don’t you try the test [here](https://mws.amazonservices.com/scratchpad/index.html)
   and perform Item Search?
 *  Thread Starter [timtekk](https://wordpress.org/support/users/timtekk/)
 * (@timtekk)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/api-keys-not-working/#post-9117430)
 * Not clear how to do that. If I am copying and pasting the keys directly from 
   Amazon credentials manager then shouldn’t they just work?
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/api-keys-not-working/#post-9123126)
 * Sorry, it seems I pasted the wrong link in the previous reply.
 * Please try [this one](http://webservices.amazon.co.jp/scratchpad/index.html) (
   [http://webservices.amazon.co.jp/scratchpad/index.html](http://webservices.amazon.co.jp/scratchpad/index.html)).
 * 1. In the left sidebar, find the menu item named **ItemSearch** (Search -> ItemSearch)
   and click it.
    2. In the following screen, find the section named **Common parameters**
   and set the following fields.
 *  – Marketplace
    – Associate Tag – Access Key ID – Secret Access Key
 * Also in the **Request parameters** section, type `WordPress` as a test key word
   in the **Keywords** field.
 * 3. Press the **Run request** button.
 * If your keys are valid, you should see some product links in the following screen.
 * I suspect your keys are for Amazon MWS which is different from AWS( Amazon Web
   Services). Please follow [this instruction](https://affiliate-program.amazon.com/gp/advertising/api/detail/your-account.html)
   to create an account for it.
 * Hope this helps.
 *  Thread Starter [timtekk](https://wordpress.org/support/users/timtekk/)
 * (@timtekk)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/api-keys-not-working/#post-9123304)
 * What does it mean when I go through those instructions and the browser just constantly
   refreshes between my scratchpad query and the scratchpad launch page?
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [9 years ago](https://wordpress.org/support/topic/api-keys-not-working/#post-9127517)
 * I don’t know. It could be that your browser is killing some JavaScript scripts
   or disabling cookies. Or simply your keys are not valid.
 * You can find an ScratchPad instruction [here](http://webservices.amazon.com/scratchpad/assets/documents/help/Amazon%20Associates%20Product%20Advertising%20API%20Scratchpad%20Guide%20en-US.pdf).
 * My best guess is that you haven’t created an AWS account yet. In that case, you
   should create one. Follow the link in the Step 1 of the Getting Started section
   of [this page](http://bservices.amazon.com/scratchpad/index.html).

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘api keys not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-auto-links_eeeeee.svg)
 * [Auto Amazon Links - Amazon Associates Affiliate Plugin](https://wordpress.org/plugins/amazon-auto-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-auto-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-auto-links/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-auto-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-auto-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-auto-links/reviews/)

## Tags

 * [amazon aws](https://wordpress.org/support/topic-tag/amazon-aws/)
 * [api](https://wordpress.org/support/topic-tag/api/)
 * [authentication](https://wordpress.org/support/topic-tag/authentication/)

 * 8 replies
 * 2 participants
 * Last reply from: [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/api-keys-not-working/#post-9127517)
 * Status: not resolved