aoede icon indicating copy to clipboard operation
aoede copied to clipboard

Getting Client Ended Error

Open shubhankartrivedi opened this issue 2 years ago • 7 comments

I am getting the Error:

Client ended: Http(UnsuccessfulRequest(ErrorResponse { status_code: 401, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("discord.com")), port: None, path: "/api/v9/users/@me", query: None, fragment: None }, error: DiscordJsonError { code: 0, message: "401: Unauthorized", errors: [] } }))

OS: Windows 11 Yes I did got email from Spotify for Login .

shubhankartrivedi avatar Mar 25 '22 13:03 shubhankartrivedi

Looks like it's having trouble connecting to Discord. Double check the bot token is correct?

codetheweb avatar Mar 26 '22 16:03 codetheweb

Looks like it's having trouble connecting to Discord. Double check the bot token is correct?

Yeah I have tried doing with fresh token also, same error. But tomorrow I'll try again

shubhankartrivedi avatar Mar 26 '22 18:03 shubhankartrivedi

I faced the same issue, but I found a solution to it. You need to provide bot token, not user token, with user token bot won't work

Azumi0 avatar Mar 31 '22 16:03 Azumi0

I faced the same issue, but I found a solution to it. You need to provide bot token, not user token, with user token bot won't work

I mean like it's obvious that we give bot token , who will give user token its dumb

shubhankartrivedi avatar Mar 31 '22 18:03 shubhankartrivedi

this can probably be closed @codetheweb

maybe we should mention the difference between bot and user tokens in the docs, what do you think?

oleggtro avatar Aug 04 '22 12:08 oleggtro

Yep, happy to accept a PR with an update for that :)

codetheweb avatar Aug 04 '22 23:08 codetheweb

#19

oleggtro avatar Aug 05 '22 12:08 oleggtro