Error [TokenInvalid]: An invalid token was provided.

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

client.login(TOKEN)
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
14 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Idris
Idris2y ago
console.log(TOKEN)
계정 버림
계정 버림OP2y ago
The path is right
계정 버림
계정 버림OP2y ago
Idris
Idris2y ago
yeah so the error is correct
계정 버림
계정 버림OP2y ago
why??
Idris
Idris2y ago
wdym "why" ? you’re providing Korean characters (I think) instead of a token
계정 버림
계정 버림OP2y ago
Noo I only put English characters
Idris
Idris2y ago
you don’t have to pass english characters too lol just a token
계정 버림
계정 버림OP2y ago
hmm In this pic's above log is the token and idkw the error is occurred
Idris
Idris2y ago
the line just after the green one?
계정 버림
계정 버림OP2y ago
yeah
Idris
Idris2y ago
@apenrl ^
계정 버림
계정 버림OP2y ago
oh I see thank u for answer 🙂
Want results from more Discord servers?
Add your server