This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
websocket: close 4004: Authentification failed / websocket: close 4014: Disallowed Intent(s) error. [BOT login] #288
Labels
bug
Something isn't working
How have you installed cordless
What happened
Tried logging in via Authentification-Token with a bot using:
BOT MY.BOT.TOKEN
and got awebsocket: close 4004: Authentification failed
error.Then I made a
config.json
file in/data/data/com.termux/files/home/.config/cordless/
with the following content (got it from my laptop):When I launched cordless, I got another error (see error output).
How do you reproduce this bug
I installed cordless on Termux (you can get the app in Android's default playstore). Using an Asus flip chromebook c302ca.
Note: to paste the token while cordless is running in Termux, long clicking won't work and I had to use
Ctrl+Alt+A
.Error output
websocket: close 4014: Disallowed Intent(s) error.
How to fix
https://discord.com/developers/docs/topics/opcodes-and-status-codes might help?
4004 | Authentication failed | The account token sent with your identify payload is incorrect (I have double checked my token and even tried regenerating it)
4014 | Disallowed intent(s) | You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not enabled or are not whitelisted for.
System information
The text was updated successfully, but these errors were encountered: