Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

403 Error #2

Closed
Unmasked187 opened this issue Nov 4, 2021 · 2 comments
Closed

403 Error #2

Unmasked187 opened this issue Nov 4, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@Unmasked187
Copy link

If the bot is not in the server which one u selected then u will get this error.

thread 'tokio-runtime-worker' panicked at 'called Result::unwrap() on an Err value: Http(UnsuccessfulRequest(ErrorResponse { status_code: 403, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("discord.com")), port: None, path: "/api/v9/guilds/558736576830767134", query: Some("with_counts=true"), fragment: None }, error: DiscordJsonError { code: 50001, message: "Missing Access", errors: [] } }))', src\handler.rs:39:70
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Best Regards Frank

@oSumAtrIX oSumAtrIX added bug Something isn't working and removed pending review labels Nov 4, 2021
@oSumAtrIX
Copy link
Owner

Instead, this error should be handled and a message should be given to the user letting him know about the problem

@oSumAtrIX
Copy link
Owner

Fixed in commit aca2ffb

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants