Title: Errror Message
Last modified: February 19, 2019

---

# Errror Message

 *  Resolved [dgurteen](https://wordpress.org/support/users/dgurteen/)
 * (@dgurteen)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errror-message/)
 * The plugin has been working fine for over a year. I have made no changes but 
   today note I am getting the following error:
 * Warning: Invalid XML structure returned from Amazon. in /home3/dgurteen/public_html/
   wp-content/plugins/amazon-product-in-a-post-plugin/inc/amazon-product-in-a-post-
   aws-signed-request.php on line 946
 * Any suggestions as to what has changed or how to fix it?
 * thanks, David

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

 *  [Don Fischer](https://wordpress.org/support/users/prophecy2040/)
 * (@prophecy2040)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errror-message/#post-11222760)
 * Hi David,
    Amazon has recently (in the past few weeks) made quite a few changes
   to the Advertising API terms of service. This includes reducing the number of
   API calls allowed per second and per hour, along with an overall change in the
   number of shipped items in the last 30 days that contributes to the number of
   allowed calls calculated for an API account. They also changed the minimum requirement
   to continue to use the API – from 2 sales in the past 180 days to 1 sale every
   30.
 * One other thing we have learned in the past few days is that Amazon also made
   a change to the Merged/Managed API Keys that are allowed. We were told that in
   many cases, if you have not migrated your API keys to the Product Advertising
   API associates portal (as opposed to using the keys from the Security Console),
   you may have to regenerate a new set of keys.
 * Unfortunately, we have no control over this. But to try to see if you are one
   of these accounts, you can look at the response in the Product Cache. If you 
   click on one of the cache lines and expand it, you should see the response from
   the API. If it says anything about the account being throttled or not valid, 
   then you are most likely in that group.
 * If so, try creating a new set of key in the Associates Portal area and add them
   to the plugin settings. Additionally, make sure you are using the cache ahead
   option in the settings and that your cache time in seconds is high enough (try
   2 or 3 hours – which is 7200 or 10800). Then save the settings, clear the product
   cache and any site cache, and try again to see if the products return.
 * Warm regards,
    Don
 *  Thread Starter [dgurteen](https://wordpress.org/support/users/dgurteen/)
 * (@dgurteen)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errror-message/#post-11244547)
 * Thank you Don, this was most helpful. The problem seems to have been temporary
   and has gone away now but I have saved your above note for possible future reference.
 * thanks David

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

The topic ‘Errror Message’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [dgurteen](https://wordpress.org/support/users/dgurteen/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/errror-message/#post-11244547)
 * Status: resolved