Start with the deployment status
Check whether the deployment expired, failed to build, or stopped after it started. In Bothosting, open Overview for the latest status and Console for the startup output. If the process is running but the bot stops answering, test one command or event and look for a provider login, permissions or handler error.
Match the symptom to the cause
| Symptom | Likely cause | Fix |
|---|---|---|
| Dashboard says expired or suspended | Free Spark term ended (renew every 7 days) | Renew, then start the deployment |
| Console ends with a stack trace | Unhandled error in your code | Fix the first error and test the failing call |
| Deploy shows Failed after a GitHub push | Checkout, build or startup failed | Compare the commit with Console and fix the first error |
| Process stops with no error, memory graph at the limit | Possible out-of-memory stop | Reduce caching or give the deployment more memory |
| Login fails with an invalid token message | Token reset or pasted wrong | Save the new token in Variables and restart |
| Bot drops after 15 to 30 minutes of quiet | Host sleeps idle web apps | Move to a host or plan that runs workers continuously |
Crashes and restart loops
Read Console from the most recent start. Fix the earliest meaningful error before retrying a crash loop. Common startup problems include a missing package, a missing variable or an incorrect entry path. If the last change came from GitHub, trace the push through checkout and build.
In Settings, connect a Discord crash-alert webhook and use Send test to check the destination. Eligible deployments can also enable Restart on crash. Repeated failures can pause automatic restarts.
Running out of memory
Compare the memory graph with the stop time. Bothosting can show a confirmed or likely out-of-memory stop based on the evidence available. Look for a sudden memory peak, growing caches or heavier startup work before adjusting the allocation. If the bot needs more room, a paid Bothosting plan lets you give one deployment more of the shared pool. See sizing a plan.
Stop it happening again
- Renew Spark when the reminder arrives, or move to a paid plan with no renewal.
- Log a line when the bot connects and when it disconnects, so the timeline is visible.
- Stop copies on your PC. Two processes on one token cause duplicate replies on Discord and conflict errors on Telegram.
- Connect an AI assistant with read access to diagnose outages for you. See read-only AI status checks.