• Resolved WpSEOit

    (@wpseoit)


    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.</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)
  • 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 7 years, 3 months ago by superninchen.
    Thread Starter WpSEOit

    (@wpseoit)

    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

    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 7 years, 3 months ago by superninchen.
    Plugin Author Amazon Associates Link Builder

    (@amazonlinkbuilder)

    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.
    • 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘API Request Error’ is closed to new replies.