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

403 Forbidden: bot was blocked by the user #53

Open
zackteo opened this issue May 11, 2020 · 4 comments
Open

403 Forbidden: bot was blocked by the user #53

zackteo opened this issue May 11, 2020 · 4 comments

Comments

@zackteo
Copy link

zackteo commented May 11, 2020

Someone using my bot seemed to have blocked it and is throwing this error whenever I try to restart the server. Is there a way to handle this?

@marksto marksto self-assigned this Jul 2, 2021
@marksto marksto added this to To do in Morse Next via automation Jul 2, 2021
@marksto
Copy link
Contributor

marksto commented Jul 2, 2021

Hi @zackteo! This seems to be a legal HTTP status resulting in a clj-http exception that you could catch on your side and process according to the business logic of your application. Nevertheless, I'll take a look and think about what can be done here. This may go away with the upcoming improvements to the error logging/propagation.

@zackteo
Copy link
Author

zackteo commented Jul 2, 2021

Hi @marksto ! Awesome! Btw, are you planning to start maintaining this repo again? (Cause it appeared to me from an outside perspective that the main author was uncontactable)

@Otann
Copy link
Owner

Otann commented Jul 2, 2021

The main author had a tough year changing one city, two jobs and four apartments 😔
@marksto generously offered his help and is contributing now!

And sorry for the lack of attention to the repo

@marksto marksto removed their assignment Jul 4, 2021
@marksto
Copy link
Contributor

marksto commented Jan 30, 2022

@zackteo hello again! If you are still looking for a more complete Clojure client library for the Telegram Bot API, there is one that covers 100% of the available methods and exposes a consistent API. It also implements a meticulous error handling that helps the client code distinguish between the unsuccessful requests (in terms of the Bot API) and other possible errors.

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

No branches or pull requests

3 participants