Title: Plugin Doesn&#8217;t Accept My ID Credentials
Last modified: May 31, 2017

---

# Plugin Doesn’t Accept My ID Credentials

 *  Resolved [ma3ry](https://wordpress.org/support/users/ma3ry/)
 * (@ma3ry)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/plugin-doesnt-accept-my-id-credentials/)
 * I have had an affiliate account with Amazon for 17 years but I cannot get the
   plugin to accept my credentials. I tried credentials using root, which didn’t
   work, so then I set up a second user with full permissions and tried again with
   new credentials, but that didn’t work either. In both cases I get error message:
 * Error: Invalid Request (file_get_contents)
    Please check your Access Key ID and
   Secret Access Key for errors.
 * Error: (CURL) AWS.InvalidAccount
    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).
 * Debug says:
 * Your site has the following server capabilities:
 *  allow_url_fopen: On
    allow_url_include: On CURL: Installed
 * You can use fopen (file_get_contents) OR CURL for the API requests.
 * Would appreciate your help. Website is [https://ChristianGays.com](https://ChristianGays.com)
   
   Thank you.

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

 *  [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-doesnt-accept-my-id-credentials/#post-9257790)
 * Mine worked fine on my wordpress site for 2 years , it stopped working now with
   exactly the same errors, please advise if anyone has a solution.
    -  This reply was modified 8 years, 10 months ago by [stellamaris5](https://wordpress.org/support/users/stellamaris5/).
 *  [stellamaris5](https://wordpress.org/support/users/stellamaris5/)
 * (@stellamaris5)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-doesnt-accept-my-id-credentials/#post-9259952)
 * [@prophecy2040](https://wordpress.org/support/users/prophecy2040/) hi Don, I 
   have the same problem as the OP, I’ve also emailed you the debug key and uRL 
   to the email provided in the plugin
 * It literarily just stopped working on it’s own, not made any changes or added
   new plugins except of course WP/plugin updates.
 * I also go a new root key and added that as a test but it can’t connect to Amazon…
 * Any ideas?
    Many thanks in advance.
    -  This reply was modified 8 years, 10 months ago by [stellamaris5](https://wordpress.org/support/users/stellamaris5/).
 *  [sourabh71083](https://wordpress.org/support/users/sourabh71083/)
 * (@sourabh71083)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-doesnt-accept-my-id-credentials/#post-9664761)
 * It’s gonna sound really silly, but all you have to do is click the Save button,
   and then click Test API. Worked for me.
 *  [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * (@prophecy2040)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-doesnt-accept-my-id-credentials/#post-9666361)
 * Sometimes Amazon will deactivate your affiliate account if you have not had sales
   in several months. We have seen this a few times in the past few months. If they
   do de-activate the account for lack of sales, you can just re-apply and usually
   they re-approve it without incident.
 * Other cases we have seen, is that Amazon will deactivate your root keys if they
   think they have been compromised. They usually send an email when they do, but
   those can get caught in a SPAM filter or go to an old email address on an account.
 * The latter has happened to me personally a few times – probably because we do
   a lot of testing with the keys on other sites and they think someone got a hold
   of the keys.
 * One last possible reason can be a change to the server. Hosting providers are
   always making updates to software and hardening installs for WordPress and other
   things – if they make a change that affects the CURL or fopen functionality, 
   that can cause a problem with the plugin getting info from the API – and you 
   would not had to have done anything yourself. This is also a common thing we 
   see when there is a “Mystery” cause when the plugin functionality stops working.
 * Warm regards,
    Don
    -  This reply was modified 8 years, 6 months ago by [Don Fischer](https://wordpress.org/support/users/prophecy2040/).
      Reason: left out key words in final paragraph
    -  This reply was modified 8 years, 6 months ago by [Don Fischer](https://wordpress.org/support/users/prophecy2040/).
      Reason: Grammar fix

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

The topic ‘Plugin Doesn’t Accept My ID Credentials’ is closed to new replies.

 * ![](https://ps.w.org/amazon-product-in-a-post-plugin/assets/icon.svg?rev=1565235)
 * [Amazon Product in a Post Plugin](https://wordpress.org/plugins/amazon-product-in-a-post-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-product-in-a-post-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/reviews/)

## Tags

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

 * 4 replies
 * 4 participants
 * Last reply from: [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-doesnt-accept-my-id-credentials/#post-9666361)
 * Status: resolved