Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token invalid when its not #34

Open
brendenspencer opened this issue Nov 3, 2022 · 13 comments
Open

Token invalid when its not #34

brendenspencer opened this issue Nov 3, 2022 · 13 comments

Comments

@brendenspencer
Copy link

(node:7931) UnhandledPromiseRejectionWarning: Error [TOKEN_INVALID]: An invalid token was provided.
at Client.login (/opt/Plex/node_modules/discord.js/src/client/Client.js:206:52)
at Object. (/opt/Plex/index.js:13:8)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
(node:7931) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:7931) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@irbyk
Copy link
Owner

irbyk commented Nov 3, 2022

Do you use the docker image ?
Else, which Node version do you use ?

@brendenspencer
Copy link
Author

v12.22.9

@brendenspencer
Copy link
Author

v12.22.9
12.22.9-dfsg-1ubuntu3

@irbyk
Copy link
Owner

irbyk commented Nov 3, 2022

On windows or linux directly ?

@brendenspencer
Copy link
Author

Linux

@irbyk
Copy link
Owner

irbyk commented Nov 3, 2022

Dumb question : Are you sure you past the right Token ?

@irbyk
Copy link
Owner

irbyk commented Nov 3, 2022

I just did a fresh install and config and the bot work just fine for me.

@brendenspencer
Copy link
Author

the one discord gave me

@irbyk
Copy link
Owner

irbyk commented Nov 3, 2022

Are you on the Discord server ?

@brendenspencer
Copy link
Author

yes

@irbyk
Copy link
Owner

irbyk commented Nov 3, 2022

Can you write something on the "help" text channel there ?

@brendenspencer
Copy link
Author

its my discord server?

@irbyk
Copy link
Owner

irbyk commented Nov 3, 2022

This one : https://discord.gg/c39aRhB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants