Official opcodes and status codes
Interactive lookup: Error code lookup
| Code | Meaning | Typical fix |
|---|---|---|
| 4004 | Authentication failed | Check token |
| 4013 | Invalid intent(s) | Remove unknown bits |
| 4014 | Disallowed intent(s) | Enable privileged intents in portal |
| 4010 | Invalid shard | Fix shard config |
| 4011 | Sharding required | Shard the bot |