receive 429(too many request) when search '*' #75870
Replies: 3 comments
-
A single character search is too short to make efficient, so it requires a lot of resources to process. It is likely that you are exceeding your search quota due to this. Please refine your search. |
Beta Was this translation helpful? Give feedback.
-
A 429 HTTP status code typically indicates that you have exceeded the rate limit imposed by the server. It's a measure to prevent abuse and ensure fair usage of resources. In the case of search functionality on platforms like GitHub, rate limits may be applied based on various factors, including the complexity of the search query, the frequency of requests, and the server's capacity. In your scenario, using a single character such as "*" in your search query might trigger a more complex or resource-intensive search operation on the server side. This could lead to the server imposing rate limits to prevent abuse or excessive resource consumption. It's not uncommon for rate limits to be based on factors other than just the number of requests, and the specific details can vary between services. For example, a more complex or resource-intensive query might count more heavily against your rate limit than a simpler one. If you're working with an API or service that has rate limits, it's a good practice to check the documentation for that service to understand the specifics of the rate limits and any guidelines for usage. The documentation should provide information on what triggers rate limits and how you can adjust your usage to stay within the allowed limits. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
when I start a search in the home page using the keyword "*" (only this character),I got a 429 said I did too many requests.
Even if not immediately banned, 429 will appear after a few requests (as a comparison, searching for "Linux" for dozens of times will not). I made this search because I want to see who got the most stars in all repo. now I know that matches the '*' in code, not as a wildcard, and there are other correct expressions or search methods.
But Is it a reasonable expected behavior to prompt 429 ban based on search capacity rather than access times?
Beta Was this translation helpful? Give feedback.
All reactions