Reference for common errors and their fixes.
broken data stream when reading image file
The auto-solver crashes with a Pillow error when trying to read the captcha image downloaded from Discord.
NoneType is not iterable (aiohttp)
Bot crashes on startup or during HTTP requests with 'NoneType is not iterable' traceback from inside aiohttp.
discord-protos fails to install on Python 3.13+
pip install fails with compilation errors when installing discord-protos on Python 3.13+ or Termux.
DeprecationWarning: asyncio.get_event_loop() on Python 3.12+
Warnings flood the console or the bot crashes with RuntimeError related to asyncio event loop on Python 3.12 or 3.13.
Cannot read properties of undefined (AutoEnhance dashboard)
The AutoEnhance section of the dashboard throws a JS error 'Cannot read properties of undefined (reading enabled)' and fails to load.
quick-toggle returns 400 Invalid command for army/mail/pup/piku
Toggling army, mail, pup, or piku from the dashboard returns HTTP 400 'Invalid command'.
Pillow install fails on Termux (libjpeg missing)
pip install pillow fails on Termux with 'libjpeg not found' or similar compilation error.
Cog file not found for enabled feature
Bot starts but a feature set to enabled: true in settings.json silently does nothing.