• Hi,
    when Amazon return an error 429 Too Many Requests, could you make it call the Amazon WS again in 1 second or a custom time value?

    what do you think?

    Thx

    • This topic was modified 3 years, 10 months ago by desarrollador.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Harish Chouhan

    (@hchouhan)

    Hey @desarrollador,

    Can you please share a screenshot of this error?

    Thread Starter desarrollador

    (@desarrollador)

    Hi, when a bot crawl my site, the plugin fail.

    Maybe when the api return this error, the plugin could call again the api.

    it’s possible??

    look the screeenshot.

    Thx

    Plugin Author Harish Chouhan

    (@hchouhan)

    Hey @desarrollador,

    Please test your API keys on Amazon’s site.

    You can go to
    https://webservices.amazon.com/paapi5/scratchpad/index.html

    Click on GetItems in the left sidebar
    Fill in your API key,m API secret, and your tracking ID/partner tag.
    Fill an ASIN under ItemIDs, and as resource select for example ItemInfo.
    Then you click the RunRequest button and you will either get an error or the product information in JSON format.

    If you see the same error there you confirmed that it’s an issue with the API key, maybe Amazon blocked the API key for whatever reason.
    If you don’t see the error there you confirmed that it’s an issue with the AAWP plugin and we would really like to investigate further if that’s the case. But so far, every single time, it’s been Amazon blocking the API key. We don’t know all the reasons why Amazon would block an API key, I recommend contacting their support about that if that is the case.

    Thread Starter desarrollador

    (@desarrollador)

    Hi, the scratchpad works fine. My API key is not blocked.

    I think that the error is because a Bot(index spider) every night access all the pages of my site, and the plugin really makes simultaneous calls to the API.

    I think that catching the exception and placing a new try with a delay could solve that problem.

    No one else has the problem?

    In pages with more views the cache is updated, and no have problems. but with pages with less pageview the exception usually thrown everyday.

    Thanks for your time

    Plugin Author Harish Chouhan

    (@hchouhan)

    Hey @desarrollador,

    Can you please reach out to us at https://kryptonitewp.com/contact/. We will need to check some settings.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error: Too Many Requests’ is closed to new replies.