Closed Yuviraaj closed 11 months ago
This is happening to me all the time☠
Also happening to me
This is not an error returned by Discord or raised by the library itself. My guess is this is returned by some middleware or proxy, so there's nothing for me to do here. Are you by any chance using repl.it or a similar service?
Looking into this further, it does seem like this is a Repl.it-only issue. They proxy the Discord API in an attempt to avoid IP bans that impact large groups of projects, adding their own internal rate limiting on top of Discord's rate limits. They now also check if the Authorization
header is prefixed with "Bot" or "Bearer" in an attempt to block user account automation.
While there are ways around their proxying, I'm not going to outline them here. Please don't use services like Repl.it, they're really not designed for this.
use something like glitch/codesandbox/any vps service/render etc if you dont wanna self-host a sb
@dolfies Please mention the ways around their proxying, repl.it is the only that works
did you find a way around their proxying?
Summary
429 Too Many Requests (error code: 0): selfbots are against Discord's terms of service
Reproduction Steps
raise HTTPException(response, data) discord.errors.HTTPException: 429 Too Many Requests (error code: 0): selfbots are against Discord's terms of service
Code
No response
Expected Results
Run Smoothly
Actual Results
raise HTTPException(response, data) discord.errors.HTTPException: 429 Too Many Requests (error code: 0): selfbots are against Discord's terms of service
System Information
python -m discord -v
Checklist
Additional Information
No response