Title: API Request Error
Last modified: August 24, 2017

---

# API Request Error

 *  Resolved [WpSEOit](https://wordpress.org/support/users/wpseoit/)
 * (@wpseoit)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/api-request-error/)
 * Hi all,
    we are using your plugin and we saw a lot of error like this in the 
   error_log:
 * [Thu Aug 24 17:00:57 2017] [warn] [client 87.8.152.34] mod_fcgid: stderr: <h4
   >AWS.ExceededMaximumParameterValues</h4>
 * [Thu Aug 24 17:21:28 2017] [warn] [client 199.101.134.202] mod_fcgid: stderr:
   <h4>You are submitting requests too quickly. Please retry your requests at a 
   slower rate. For more information, see [Efficiency Guidelines](http://docs.aws.amazon.com/AWSECommerceService/latest/DG/TroubleshootingApplications.html#efficiency-guidelines).
   </h4>
 * We think that when this error happen the page has an error or is not fully loaded.
   This because since we have this error we have also a degrade of traffic.
 * And if we disable the plugin we have a increase of the traffic.
    We presume that
   these exception generate an error the block the rendering of the page and we 
   lost the visit.
 * How the exceptions is managed? When the api return an error there is a php error
   or simply the amazon banner isn’t showed?
 * We think will be good add a caching system of the generated amazon’s code so 
   we haven’t to make a request for each visit of the same page with the same shortcode.
 * Thanks
 * Best regards

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

 *  [superninchen](https://wordpress.org/support/users/superninchen/)
 * (@superninchen)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/api-request-error/#post-9438447)
 * I think that (at least the second error) comes from search engines crawling your
   page and quickly following the links. I noticed these error messages, too, and
   the associated IP address for the requestor belonged to the bing bot.
 * Cheers,
    Sascha
    -  This reply was modified 9 years, 2 months ago by [superninchen](https://wordpress.org/support/users/superninchen/).
 *  Thread Starter [WpSEOit](https://wordpress.org/support/users/wpseoit/)
 * (@wpseoit)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/api-request-error/#post-9438605)
 * Hi, yes it’s true, in our case are google bot.
    But can be also a sites with 
   a high concurrent visitors (in our case about 15).
 * I don’t understand if the error is only a notice but the page is well loaded,
   or if is a php error the block all. In this second case i would know if there
   is a way to manage the exeception returning a blank “ads” so that the page will
   be loaded correctly.
 * Thanks
 * Best regards
 *  [superninchen](https://wordpress.org/support/users/superninchen/)
 * (@superninchen)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/api-request-error/#post-9438620)
 * I don’t think it’s a big deal. It’s just X requests (with X being the number 
   of links to amazon in your page) directed to the Amazon server, which then replies
   that you’re (i.e. the bot) firing requests too quickly.
 * The links should be attributed with ‘rel=”nofollow”‘, anyway to avoid having 
   the bots follow them. Do your amazon links have those attributes? If not, add
   them and try again.
 * About the first error message you showed in the 1st post: To me this looks like
   there is one parameter too many in the link shortcode. Could it be that you have
   created a custom template and changed the template type afterwards? For example
   making a ProductAd a ProductLink, which has less parameters?
 * Just a thought.
 * Cheers,
    Sascha
    -  This reply was modified 9 years, 2 months ago by [superninchen](https://wordpress.org/support/users/superninchen/).
 *  Plugin Author [Amazon Associates Link Builder](https://wordpress.org/support/users/amazonlinkbuilder/)
 * (@amazonlinkbuilder)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/api-request-error/#post-9462968)
 * Dear wpseoit@,
 * Let’s answer one by one:
    - **AWS.ExceededMaximumParameterValues:** This error is shown when there are
      more than 10 products in the single shortcode and currently ItemSearch API(
      this API is used to render ad from shortcode) can’t return the result for 
      more than 10 products in one request so it throws an exception and no product
      is loaded on your page. This might be a reason for the drop in traffic. So
      to avoid this scenario, do not add more than 10 products in single shortcode
    - **You are submitting requests too quickly:** This is due to throttling and
      details about the allowed request count per second is mentioned [here](http://docs.aws.amazon.com/AWSECommerceService/latest/DG/TroubleshootingApplications.html#efficiency-guidelines).
    - **Caching:**Plugin maintains a caching of 30 minutes for every ad. So for 
      a specific ad on a page, only for the first rendering in every 30 minutes,
      a call is made from your server to Product Advertising API server
 * More details about error messages can be found [here](http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ErrorMessages.html)
    -  This reply was modified 9 years, 1 month ago by [Amazon Associates Link Builder](https://wordpress.org/support/users/amazonlinkbuilder/).
      Reason: Added link to Product Advertising API error messages page

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

 The topic ‘API Request Error’ is closed to new replies.

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

## Tags

 * [caching](https://wordpress.org/support/topic-tag/caching/)
 * [error messages](https://wordpress.org/support/topic-tag/error-messages/)
 * [throttling](https://wordpress.org/support/topic-tag/throttling/)

 * 4 replies
 * 3 participants
 * Last reply from: [Amazon Associates Link Builder](https://wordpress.org/support/users/amazonlinkbuilder/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/api-request-error/#post-9462968)
 * Status: resolved