ayrat555 / frankenstein

Telegram bot API client for Rust
Do What The F*ck You Want To Public License
268 stars 28 forks source link

Error 500 on get_updates #60

Closed hugorplobo closed 2 years ago

hugorplobo commented 2 years ago

Hi, I'm getting some error 500 when trying to use get_updates in my code. My code is the same as the example reply_to_message_updates, and this is the error I get.

image

Can someone help me?

EdJoPaTo commented 2 years ago

The image contains your API token: Make sure to reset it so no one is able to use it.

Error 5xx are server side errors → The server does seem to have a problem here and not the library you are using. If the library does something wrong a 4xx error would be the case.

I assume this error should be gone after the issue is fixed server side.

hugorplobo commented 2 years ago

Yes i revoked it, thank you. I tried using a javascript library with the same token to see if it could be something on the telegram server but the bot worked correctly so i opened the issue.

hugorplobo commented 2 years ago

I started the bot again and now it's working. Maybe it was just luck that it worked one time and not the other.