I try to run diagnostics, but I get the error Quota exceeded for quota metric 'Queries' and limit 'Queries per minute'. How to resolve?
Sometimes it may happen that you try to diagnose the website speed using the built-in Google PageSpeed Insights tool and receive this error.
To successfully run the diagnostics, it's recommended to make a short pause of about 10 minutes between requests to make sure that Google doesn't throw the error again. Alternatively, you may try other approaches:
- Or, you may insert your own API key into module configuration to avoid pausing between requests.
For that, please make sure to update base Google Page Speed Optimizer module to the latest version (the API key feature was added in v.2.4.0) - How to update an Amasty extension? Then, follow this guide to enable PageSpeed Insights API in your Google account and generate the API key. Save the obtained key in the field at Amasty > Google Page Speed Optimizer > Configuration > General > PageSpeed Insights API Key, and with that website diagnostics will be run in the admin area using your personal query quota: