Discord: An invalid token was provided

ummm pls help

I imagine it is what it says, an invalid token was supplied to the login method.

But we can’t really do much with just an image. Post your replit instead.

sure here is the link here

Did you add the key and value to the Secrets (environment variables) on Replit?

Did you try logging out the key to check it?

Are you sure you have the correct token value?

Docs: Common discord.js and API errors

I moved your question to its own thread.

yes I added it here, copy pasted from the dev portal OH WAIT, im so sorry for wasting your time, turns out I mistakingly capitalized the last letter of the token

im dumb .-. sorry lol

No problem. So it’s working now?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.