Melantrix
Melantrix
CDCloudflare Developers
Created by Melantrix on 3/27/2025 in #workers-help
Receiving ratelimit errors, while not hitting rate limits.
Hello, I'm hosting a worker for some friends which we use for notifying us in discord channels if we have a turn waiting in Civilization 6. The worker receives a json, process some logic (chooses which server based on game name, which person to tag etc) and then calls a discord webhook to post a the message to. When posting to the discord webhook, i get a rate limit error 429 - error code: 1015 from (it looks like) cloudflare and not discord. My worker has been active for years now, and my rates are like 20 per day, so far below the free usage tier (i am using free). I don't understand where this issue comes from, in addition that the worker already processes the request from the civilication servers, but then fails on sending a request towards discord. The code and amount of requests has not changed in the past 24 hours, however it just suddenly stopped working for the past few days already. Is this a known issue? i would expect a problem within Cloudflare, but i cannot find anything else. Also, sending a manual request from my laptop to the cloudflare worker fails, sending a request to the webhook in discord works fine. i'm not sure if it helps to share code, if i need to provide any information please let me know.
4 replies