Introduction
At All That Node, we set daily request limits and Requests Per Second (RPS) limits based on the subscription plan. You can find the daily request and RPS limits for each plan on the Pricing page. If you exceed these limits, a "429 Client Error: Too Many Requests" will occur, indicating that either the daily request limit or RPS has been exceeded. This document provides solutions for resolving the 429 error.
The "429 Client Error: Too Many Requests" error can occur in two scenarios:
- Daily Request Limit Exceeded: This happens when the daily request quota for your current subscription plan is exhausted.
- RPS Limit Exceeded: This happens when the number of requests sent per second exceeds the limit specified by your subscription plan.
To prevent and resolve the "429 Too Many Request" error, consider the following solutions:
-
When Daily Request Limit is Exceeded
- Upgrade Your Subscription Plan: Upgrading to a higher subscription plan increases your daily request limit, allowing more requests to be processed.
- Enable Auto-Scaling and Adjust Limits: By enabling the Auto-sxaling feature, you can handle additional requests within the allowed range even if the daily request limit is exceeded, providing flexibility in managing your request volume.
-
When RPS Limit is Exceeded
- Upgrade Your Subscription Plan: Upgrading to a higher subscription plan increases your RPS limit, allowing more concurrent requests to be processed.
Additional Questions:
Q1: How can I check if I have exceeded the daily request limit or RPS limit?
A1: You can check your usage in the All That Node Dashboard. Go to Statistics > Today’s Usage to see your daily request count. This will help you determine if you have exceeded your daily request limit. Additionally, you can check Dashboard > Throughput to view the hourly average throughput and maximum throughput to see if you have exceeded the RPS limit.
Q2: How do I enable the auto-scaling feature?
A2: You can enable the auto-scaling option in the settings menu of the customer portal. For detailed steps, please refer to the docs page.
Q3: How do I upgrade to a higher subscription plan?
A3: To upgrade, go to the Billing tab in the dashboard, select the desired higher plan, and follow the upgrade procedure. For detailed steps, please refer the docs page.
Q4: How can I prevent the 429 error?
A4: There are several ways to reduce your RPS and avoid the 429 error:
- Monitor the RPS usage: benchmark your code and adjust accordingly.
- Implement exponential backoff for retries, increasing the pause between retries progressively.
Conclusion
By following these solutions, you can effectively prevent the "429 Client Error: Too Many Requests" error and ensure smoother service.
If you need further assistance, feel free to contact customer support by submitting a request through the Request a Ticket.