You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
WPGraphQL will return a 429 error when there are multiple queries from one user within a short timeframe on stores that have large quantities of variable products.
To Reproduce
Steps to reproduce the behavior: This happens in development as well, but the easiest way to reproduce is with the GraphQL IDE
Go to the GraphQL IDE in Wordpress
Make a new product query
Execute the query multiple times quickly, executing it again right after you get your response from the previous query. (It takes me about 6 or 7 executions and my store has 1300 products)
You will get an error that says "Unexpected token '<', "<html clas"... is not valid JSON". This is a 429 error saying that your IP address has had too many requests
Expected behavior
There should be no 429 error when querying products, especially not when I am making as few as 6 queries. This volume would be achieved in a live environment by simply clicking around the store for 45 seconds.
Screenshots
Desktop (please complete the following information):
OS: MacOS
Browser: Chrome
Version: Chrome Version 125.0.6422.112
Plugin Versions
WooGraphQL Version: 0.21.0
WPGraphQL Version: 1.28.1
WordPress Version: 6.6.1
WooCommerce Version: 9.2.2
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
WPGraphQL will return a 429 error when there are multiple queries from one user within a short timeframe on stores that have large quantities of variable products.
To Reproduce
Steps to reproduce the behavior:
This happens in development as well, but the easiest way to reproduce is with the GraphQL IDE
Expected behavior
There should be no 429 error when querying products, especially not when I am making as few as 6 queries. This volume would be achieved in a live environment by simply clicking around the store for 45 seconds.
Screenshots
Desktop (please complete the following information):
Plugin Versions
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: