An error occurred while running the client: "401: Unauthorized" #2

Closed
opened 2023-09-19 13:08:23 +02:00 by gamecube-github · 2 comments
gamecube-github commented 2023-09-19 13:08:23 +02:00 (Migrated from github.com)

Full error message:
An error occurred while running the client: 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/v10/users/@me", query: None, fragment: None }, error: DiscordJsonError { code: 0, message: "401: Unauthorized", errors: [] } }))

Full error message: An error occurred while running the client: 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/v10/users/@me", query: None, fragment: None }, error: DiscordJsonError { code: 0, message: "401: Unauthorized", errors: [] } }))
gamecube-github commented 2023-09-19 13:09:00 +02:00 (Migrated from github.com)

got it working

got it working
TudbuT commented 2023-09-19 14:21:28 +02:00 (Migrated from github.com)

For others having this issue in the future finding this: This is usually because the token is invalid or something else that causes the API to not accept the authorization.

For others having this issue in the future finding this: This is usually because the token is invalid or something else that causes the API to not accept the authorization.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TudbuT/projbotv3#2
No description provided.