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 User17mo ago
Message Not Public
Sign In & Join Server To View
Idris
Idris17mo ago
console.log(TOKEN)
#[derive(ApEnrl)]
The path is right
Idris
Idris17mo ago
yeah so the error is correct
#[derive(ApEnrl)]
why??
Idris
Idris17mo ago
wdym "why" ? you’re providing Korean characters (I think) instead of a token
#[derive(ApEnrl)]
Noo I only put English characters
Idris
Idris17mo ago
you don’t have to pass english characters too lol just a token
#[derive(ApEnrl)]
hmm In this pic's above log is the token and idkw the error is occurred
Idris
Idris17mo ago
the line just after the green one?
#[derive(ApEnrl)]
yeah
Idris
Idris17mo ago
@apenrl ^
#[derive(ApEnrl)]
oh I see thank u for answer 🙂