BotNinja
Pricing
Log inGet started
← All help guides
🔑

Discord Token Error

Your bot token is invalid, expired, or missing.

What happened

BotNinja tried to start your bot, but Discord rejected the bot token. This usually means the token was reset in the Discord Developer Portal, or it was never added to your bot's secrets.

How to fix it

1

Go to the Discord Developer Portal

Open discord.com/developers/applications and select your bot application.
2

Navigate to the Bot section

Click "Bot" in the left sidebar.
3

Reset and copy your token

Click "Reset Token", confirm, and then click "Copy" to copy the new token. Keep this token secret — anyone with it can control your bot.
4

Update the token in BotNinja

Go to your bot in the BotNinja Dashboard, open the Secrets tab on the right sidebar, and paste your new token as `DISCORD_TOKEN`.
5

Start your bot again

Click Start or use the bot command in Discord. It should connect successfully now.

Still stuck?

Join our Discord community
Ask for help and get a response from our team
B
Open Dashboard
Check your bot logs and settings
BotNinja

The dojo for Discord. Forge a bot, design a server, and ship — all in one place.

© 2026 Omika AI

Product
  • BotNinja
  • ServerNinja
  • Pricing
  • Templates
Resources
  • Docs
  • Getting started
  • How it works
  • Help center
  • Guides
Company
  • Discord
  • Email us
  • Privacy
  • Terms