Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: TweetError { kind: TweetError(BadStatus(403)) #26

Closed
spin240 opened this issue May 15, 2022 · 5 comments
Closed

Error: TweetError { kind: TweetError(BadStatus(403)) #26

spin240 opened this issue May 15, 2022 · 5 comments

Comments

@spin240
Copy link

spin240 commented May 15, 2022

Hey, I have filled everything in .env file, however I can't run my TweetBot. Could you please tell me what could be the problem?

warning: function is never used: get_url_entity
--> src/utils.rs:25:14
|
25 | pub async fn get_url_entity(tweet: &Tweet) -> Option {
| ^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)] on by default

warning: function is never used: get_media_urls
--> src/utils.rs:36:14
|
36 | pub async fn get_media_urls(tweet: &Tweet) -> Option<Vec> {
| ^^^^^^^^^^^^^^

warning: associated function is never used: new
--> src/error/tweet_error.rs:22:12
|
22 | pub fn new(kind: TweetErrorKind) -> Self {
| ^^^

warning: tweet_bot (bin "tweet_bot") generated 3 warnings
Finished release [optimized] target(s) in 0.12s
Running target/release/tweet_bot
Started the stream
Error: TweetError { kind: TweetError(BadStatus(403)), location: Location { file: "src/stream/stream_impl.rs", line: 15, col: 5 } }

@dracarys18
Copy link
Owner

Hey, I am really sorry for the late response I have been busy with work. Twitter API throws 403 error if it's not authorized properly. So please check if you have the relevant key required to run the bot.

@VatraXD
Copy link

VatraXD commented Jun 24, 2022

I have filled everything in .env file

So please check if you have the relevant key required to run the bot.

At least you could have been more elaborate. I have the same issue and I filled everything out perfectly.

@psugand
Copy link

psugand commented Jul 4, 2022

I'm getting the same issue, this seems broken.

@linkcoindoc
Copy link

Same problem for me. @dracarys18 where I susspose to enter bearer token? I seen without that token you cant authorize anymore.

Have you solved this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@psugand @spin240 @linkcoindoc @dracarys18 @VatraXD and others