By fush
Hi, I am receiving a 429 HTTP error code (TooManyRequests) using DO API, it was strange to me, I don’t use the API up to the point of draining 5000 requests in one hour, but it does not matter, I regenerated an Api Key and ran: curl https://api.digitalocean.com/v2/account -H ‘Authorization: Bearer <API_TOKEN>’ -D -
On my local PC, It shows the counter has reset as this is a new Token:
ratelimit-limit: 5000
ratelimit-remaining: 4999
Now on my server, it still returns 429, the response comes from Cloudflare…
Is not this a flaw? If you handle rate limit by yourself why are you letting Cloudflare put their flawed anti-abuse system on top of you? They have caused a DoS on my application now… Your system is not behaving as documented thanks to Cloudflare.
Please give some elaboration on this, and if possible fix this, at this time Cloudflare is taken over your Rate Limit feature and imposing his own which is arbitrary and not following your documentation.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey @fush,
In our public community, we aim to answer open questions about anything SysAdmin, DigitalOcean and beyond. However, we make every attempt to keep personal information safe and so don’t ever access personal account information here. This means we can’t provide help with any account issues.
Please reach out to our amazing support team who will be more than happy to assist you with your account issue! :)
Make sure to include the response headers, specifically cf-ray and x-request-id if it exists.
Regards, - Bobby.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.