Tyrrrz / DiscordChatExporter

Exports Discord chat logs to a file
MIT License
7.65k stars 699 forks source link

Authentication token is invalid #1114

Closed EvaisaDev closed 11 months ago

EvaisaDev commented 1 year ago

Version

2.40.2

Flavor

GUI (Graphical User Interface)

Export format

No response

Details

The latest version throws an error when trying to use bot/user authentication token. Error pulling guilds and channels, Authentication token is invalid.

The token is most definitely not invalid though, version 2.39.1 loads fine using the same token so it must be something related to the newer versions.

Steps to reproduce

Log in using bot authentication token in version 2.40.2

Tyrrrz commented 1 year ago

Hmmm, can you removing the token entirely and then copy-pasting it again?

If that doesn't help, can you try getting a new token from your app? They usually rotate every once in a while.

EvaisaDev commented 1 year ago

I did that multiple times, i tried both a bot and user token. The new version just did not want to work on my system

Tyrrrz commented 1 year ago

That's really unusual

NiciTheNici commented 1 year ago

Works for me using these steps to get the token:

To get your Discord token:

    Log into Discord via Chrome on a desktop.
    Open Developer Tools, then click Network.
    Press F5 on your keyboard to reload the page.
    Type /api into the Filter field, then click library.
    Click the Headers tab, then scroll down to authorization to find your Discord token.
zackmark29 commented 1 year ago

Works for me using these steps to get the token:

To get your Discord token:

    Log into Discord via Chrome on a desktop.
    Open Developer Tools, then click Network.
    Press F5 on your keyboard to reload the page.
    Type /api into the Filter field, then click library.
    Click the Headers tab, then scroll down to authorization to find your Discord token.

By typing or searching for library is actually enough :)