Title: Getting error msg about keys/IDs
Last modified: August 21, 2016

---

# Getting error msg about keys/IDs

 *  [Cassie Beyer](https://wordpress.org/support/users/cassienbeyer/)
 * (@cassienbeyer)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/)
 * I just generated the public and secret keys from my account, but I keep getting:
 * AWS Request Failed, please check keys – Error Message: Your AccessKey Id is not
   registered for Product Advertising API. Please use the AccessKey Id obtained 
   after registering at [https://affiliate-program.amazon.com/gp/flex/advertising/api/sign-in.html](https://affiliate-program.amazon.com/gp/flex/advertising/api/sign-in.html).
 * I’ve gone to that URL again and again and I can’t see anything that I have missed.
 * However, the program does seem to work. I am getting amazon buttons to show up
   on my pages. But how do I know if I’m going to get credit for purchases because
   of the error message?
 * [https://wordpress.org/plugins/amazon-link/](https://wordpress.org/plugins/amazon-link/)

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

 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/#post-5049633)
 * Hi,
 * Thanks for trying the plugin, it looks like Amazon have changed their AWS account
   setup and account management website again.
 * I have to admit I could not find the page where it confirms which services the
   account is registered for. Will keep looking, must be there somewhere!
 * The error message you are getting is returned from the Amazon servers when the
   plugin tries to use the AWS to get product information.
 * To double check this try using the [Amazon Advertising Scratchpad](http://associates-amazon.s3.amazonaws.com/scratchpad/index.html)
   using the same credentials and see what it returns.
 * Strangely there is minimal connection between the AWS service and the affiliate
   service, so as long as the links generated have your affiliate tags in them they
   should work just fine.
 * Some of the links generated by the plugin do not need to use the AWS service,
   for example the Carousel and Iframe Image templates.
 * I’ll dig a bit more on the AWS account issue to see if I can find out what’s 
   going wrong.
 * Cheers,
 * Paul
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/#post-5049635)
 * Okay something to try…
 * According to this forum thread:
 * [https://forums.aws.amazon.com/thread.jspa?threadID=151500&tstart=0](https://forums.aws.amazon.com/thread.jspa?threadID=151500&tstart=0)
 * You might want to try going to the following page and deleting and recreating
   your access keys:
 * [https://console.aws.amazon.com/iam/home?#security_credential](https://console.aws.amazon.com/iam/home?#security_credential)
 * Worth a try?
 * Paul
 *  Thread Starter [Cassie Beyer](https://wordpress.org/support/users/cassienbeyer/)
 * (@cassienbeyer)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/#post-5049650)
 * I’m not understanding the scratchpad. It tells me “This XML file does not appear
   to have any style information associated with it.”
 * However, at least according to your plugin, I now have the right info:
 * There is a root access code and a user access code (an IAM) you can generate 
   through amazon. However, Amazon also tells me IAM is not supported (while suggesting
   everyone work through a user setup instead of a root setup) So I ditched the 
   user and went back to a root set of keys, and your plugin is now happy with that.
   The scratchpad still gives me the same statement, but I’m guessing if your plugin
   thinks everything is groovy I shouldn’t worry (?)
 * I am primarily using iFrames anyway, but I certainly want the capability of using
   everything.
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/#post-5049702)
 * Okay, if the plugin is saying the keys are okay then you should be good to go.
 * Good luck with your site,
 * Paul
 *  [xyzbytes](https://wordpress.org/support/users/xyzbytes/)
 * (@xyzbytes)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/#post-5049734)
 * I just read through this and got mine to work. However, everything I have been
   reading specifically says NOT to use root keys for anything. It is a security
   issue allowing access to your entire account.
 *  Thread Starter [Cassie Beyer](https://wordpress.org/support/users/cassienbeyer/)
 * (@cassienbeyer)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/#post-5049739)
 * It does indeed say that, which is why I tried so hard to get the user access 
   code to work. But it doesn’t seem to work. I don’t know what allows it to work
   or not. It won’t say. Presumably it works for some people, but I have no clue
   what it’s even measuring when it tells me it doesn’t work.
 *  [xyzbytes](https://wordpress.org/support/users/xyzbytes/)
 * (@xyzbytes)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/#post-5049743)
 * User credentials need to be set as well.
    I am using Cloudfront with user keys
   in W3TC and it works fine. I will be looking on AWS over the weekend to see what
   I can find. Thread related, has anyone contacted Amazon regarding this?
 * Great plugin, awesome if it will work with user accounts.
 * Thanks
 *  Thread Starter [Cassie Beyer](https://wordpress.org/support/users/cassienbeyer/)
 * (@cassienbeyer)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/#post-5049744)
 * I couldn’t figure out how to contact Amazon, or I would have.
 * To be clear, I’m being told it doesn’t work on the Amazon side of things, not
   from the plugin. That’s why I’m so confused. Amazon is telling me I should get
   a user key and then tells me it’s not supported (supported by what?)
 * when I go back to the plugin, it doesn’t like when I put in the user key (presumably
   because amazon is kicking it back) but it will take the root key. But the initial
   messages come from Amazon.
 *  [xyzbytes](https://wordpress.org/support/users/xyzbytes/)
 * (@xyzbytes)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/#post-5049746)
 * Amazon Affiliate Support confirmed to use root keys for access. I have emailed
   AWS Support to get their response as well.

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

The topic ‘Getting error msg about keys/IDs’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-link_070606.svg)
 * [Amazon Link](https://wordpress.org/plugins/amazon-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-link/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-link/reviews/)

## Tags

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

 * 9 replies
 * 3 participants
 * Last reply from: [xyzbytes](https://wordpress.org/support/users/xyzbytes/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-msg-about-keysids/#post-5049746)
 * Status: not resolved