• Resolved keengamer

    (@keengamer)


    Hello, whenever I try to authenticate, I just got this message (it was working fine before). I have version 4.03b

    Failed authentication.
    Error: 429 Too Many Requests ; TooManyRequests: The request was denied due to request throttling. Please verify the number of requests made per second to the Amazon Product Advertising API.

    How to fix it?

    Btw. this is visible in our amazon account:

    Important Notice
    If you have been using Amazon’s Product Advertising API (PA API), you must upgrade all of your applications making calls to PA API 4.0 to Amazon’s Product Advertising API version 5.0 (PA API 5.0) by March 9, 2020. We will shutdown PA API 4 after March 9, 2020. Please ignore this message if you have already completed the upgrade or have never used PA API.

    Regards,
    Karel

    • This topic was modified 4 years, 8 months ago by keengamer.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    That message is often observed when you have lots of access to the PA-API server or you haven’t made an actual referral in last 30 days. If you run multiple web sites that use the API keys of the same Amazon Associates account, or run multiple plugins that use them, it could be a cause too. In that case, you want to reduce the number of API calls.

    One way is to set a large value to the cache duration option. Another is to use Feed units. Avoid using contextual units which perform API requests per page bases.

    As for PA-API 4.0 keys, this is what they say:

    Do I need new credentials to access PA API 5 or can I use my old ones?

    If you have generated credentials after September 30th 2017, there is no action required from you. If you have generated credentials before September 29th 2017, please visit Associates Central’s PA API page and click the “migrate now” button which will refresh your credentials with ones that are compatible with PA API 5. Make sure you login with your primary owner account. See Migrating your account for more information. Please ensure you update all your existing credential stores and configuration files immediately, to continue successfully using PA API.

    (source: FAQ – Product Advertising API 5.0)

    If you have generated API keys before September 29th, 2017, you need to reissue API keys. In that case, follow this instruction.

    Thread Starter keengamer

    (@keengamer)

    Hi, well, we haven’t used it in the past a lot, we need mainly and only to create automatic links with your plugins. So question is if it is necessary or not? Probably it is because our account info is not saved.

    We have the token and keys new ones from the Amazon admin, we have conversions in the last weeks.

    However, can you try to do it on your own and test it? Because for two days Amazon has global issues with onelink feature and maybe API is not working correctly as well. So the question is if the problem is with us or with the plugin or with Amazon?

    As I said, we have absolutely no requests done by our side…

    Thanks.

    Plugin Author miunosoft

    (@miunosoft)

    Hi,

    Category units can generate product links without PA-API keys.

    Probably it is because our account info is not saved.

    I’m not sure what you mean by that. It could be that your PA-API keys are not valid. Try ScratchPad to test your keys. If it gives an error, your keys are invalid. In that case, reissue your keys or make an actual referral first.

    Thread Starter keengamer

    (@keengamer)

    WEll, the explanation is here https://amalinkspro.com/429-too-many-requests-amazon-api-error-code/

    We do not really sale products, we are linking there and getting affiliate fees. Last 30 days there are around 10 sales. Still, it doesn’t work and we get this error.

    Also my question is how do you automatically convert links from our posts? If we have nowhere our information set up? Associate ID is nowhere saved.

    So if we don’t need the api connection to be able to convert links, how do we do it then?

    Thanks.

    Plugin Author miunosoft

    (@miunosoft)

    Hi,

    Try ScratchPad to test your keys. If you get an error there, post the error message here.

    Also, try creating a category unit that lets you generate links without API keys.

    Also my question is how do you automatically convert links from our posts? If we have nowhere our information set up? Associate ID is nowhere saved.

    For a different issue, please create a new topic. It helps future visitors find their information. Thank you.

    Thread Starter keengamer

    (@keengamer)

    ScratchPad shows the same error. I don’t know… I use brand new credentials and no luck.

    Anyway, I tested fresh hyperlinks and our tag is added there. Even though I have no clue where this is set up. I searched even in your FAQ, Tips, everywhere… I suppose it’s in the Converter tab but well, no settings for us there to set our tracking ID. I will create a new request here just to get the explanation.

    Plugin Author miunosoft

    (@miunosoft)

    Hi,

    If ScratchPad gives an error, it’s not a plugin specific problem.

    I’ve read somewhere that new keys sometimes take a couple of days to become usable so you might want to check after a few days whether they become valid. Also, the server locale and Associates ID must match the one created in your Amazon Associates account. So you want to double check them as well.

    Hi @miunosoft ,

    Ihave no problems with ScartchPad site, I can get prodcuts info with my PAPI Key, but i get the next error when I click into “connect” button with your pluggin:

    “Failed authentication.
    Error: 401 Unauthorized ; UnrecognizedClient: The Access Key ID or security token included in the request is invalid.”

    Don′t know why, but I think it could be a problem of previous Access/Secrets is been cached and as I try with new ones, I get the same error.
    This morning I tried with Access/Secret key, and it worked until I don′t know why it stopped to work, only 1 Unit was created and working. THen I created a new Access/Secret pair and never works again. But as I told before, in the ScratchPad site it works without any problem.

    Could you help me please? THank you in advance.

    Plugin Author miunosoft

    (@miunosoft)

    Hi @cgonit,

    Maybe you should try restoring the default settings by going to Dashboard -> Amazon Auto Links -> Settings -> Reset -> Restore Default.

    Hi back @miunosoft ,

    Tried right now and same message:
    “Failed authentication.
    Error: 401 Unauthorized ; UnrecognizedClient: The Access Key ID or security token included in the request is invalid.”

    Any suggestion? Also doublechecked in ScartchPad and working…
    Thank you in advance.

    Plugin Author miunosoft

    (@miunosoft)

    Clearing the HTTP request caches may work. (Dashboard -> Amazon Auto Links -> Settings -> Cache -> Clear Caches -> check HTTP Requests and press Clear.)

    Hi back @miunosoft ,

    Now it connects, so cleaning cache worked. But now, as a test I did the next:

    – New Entry on my site, and just type the next shortcode:
    [amazon_auto_links asin=’B016ZNRC0Q, B00ZV9PXP2′]
    And get the famous error message:
    “429: Too Many Requests TooManyRequests: The request was denied due to request throttling. Please verify the number of requests made per second to the Amazon Product Advertising API.”

    I’m only using my Access/Secret key on my site, with your wordpress pluggin, so, it’s there any way (even the Tools-> Logs view) to see why my site is doing requestS to amazon’s API? I cannot understand it…

    Thank you for your rapid reposnes!

    Plugin Author miunosoft

    (@miunosoft)

    @cgonit Glad to hear it connects now. The new issue sounds like an unset default Associates ID and locale. Can you create a new topic about it? It helps future visitors find their information.

    Thank you!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Not possible to authenticate’ is closed to new replies.