#Error [TokenInvalid]: An invalid token was provided.

20 messages · Page 1 of 1 (latest)

native badger
#
const {TOKEN} = require("./config.json")

client.login(TOKEN)

I JUST DONT GET IT why this error has been occurred;
I put on the right TOKEN But it still don't work

#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

native badger
#

The path is right

native badger
lethal dirge
native badger
#

why??

lethal dirge
#

wdym "why" ?

#

you’re providing Korean characters (I think) instead of a token

native badger
#

Noo

#

I only put English characters

lethal dirge
#

you don’t have to pass english characters too lol

#

just a token

native badger
#

and idkw the error is occurred

lethal dirge
tawny spruce
#

that's a clientID maybe, but not a token

native badger
lethal dirge
native badger