Hello,
I use the default unit by using ASIN
There is no default unit type in this plugin. Are you using the shortcode with the ASIN argument?
I see. What does it say when you go to Dashboard -> Auto Amazon Links -> Settings -> Associates, select your locale, and press Check API?
It was working fine before but in deed now I get an error “too many requests”.
I had over 10k products now its down to 50 and not increasing anymore.
When I go to error logs I get this :
2021-10-16 08:40:18.0319 616a8ff207c23 aal_filter_http_request_set_cache
HTTP_REQUEST (HTTP_STATUS_ERROR) 429: Too Many Requests https://webservices.amazon.fr/paapi5/searchitems
I see.
At the moment, when the cache expires and the plugin cannot update the product, it will be removed when the cache clean-up routine is executed.
A workaround is to give a longer cache clean-up interval for now.
I’ll think about a way to keep persistent product elements and update only dynamic ones such as prices and ratings. But this requires a lots of changes to the plugin code so it won’t be implemented soon.
Ok so to understand if I increase the cache clean-up interval it will prevent products from being deleted but they will still be updated with new prices if they change?
Also I don’t understand why new asin are not imported anymore while I have almost no more products in the database. I get this error: HTTP_REQUEST (HTTP_STATUS_ERROR) 429: Too Many Requests
Ok so to understand if I increase the cache clean-up interval it will prevent products from being deleted but they will still be updated with new prices if they change?
Yes.
Also I don’t understand why new asin are not imported anymore while I have almost no more products in the database. I get this error: HTTP_REQUEST (HTTP_STATUS_ERROR) 429: Too Many Requests
If you keep getting the error, test your PA-API keys on ScratchPad.
If ScratchPad gives you an error, make sure you have made actual referrals in the last 30 days. Otherwise, you lose access to the PA-API. If that is not the case, check whether you have other plugins or web sites that use the same PA-API keys.
That said, you might be interested in trying the development version 5.0.0b02, which has the ability to perform product search without PA-API for some locales.