nminaya / grammar-nazi-bot

Bot that corrects spelling mistakes.
MIT License
31 stars 8 forks source link

Application Exception: Response status code does not indicate success: 429 (Too Many Requests). #116

Closed nminaya closed 3 years ago

nminaya commented 3 years ago

This is an issue created automatically by GrammarNazi when an exception was captured.

Date (UTC): 02/02/2021 08:49:47

Exception:

System.Net.Http.HttpRequestException: Response status code does not indicate success: 429 (Too Many Requests). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at Telegram.Bot.TelegramBotClient.MakeRequestAsync[TResponse](IRequest`1 request, CancellationToken cancellationToken) at GrammarNazi.App.HostedServices.TelegramBotHostedService.OnMessageReceived(Object sender, MessageEventArgs messageEvent) in /src/GrammarNazi.App/HostedServices/TelegramBotHostedService.cs:line 148 at GrammarNazi.App.HostedServices.TelegramBotHostedService.b__7_0(Object obj, MessageEventArgs eventArgs) in /src/GrammarNazi.App/HostedServices/TelegramBotHostedService.cs:line 83

Exception caught counter: 15.

nminaya commented 3 years ago

This is a Telegram.Bot issue https://github.com/TelegramBots/Telegram.Bot/issues/891

Jadhielv commented 3 years ago

This is a Telegram.Bot issue TelegramBots/Telegram.Bot#891

This issue was closed @nminaya

nminaya commented 3 years ago

@Jadhielv Yes, but they haven't officially released the fix yet. It's still in alpha https://github.com/TelegramBots/Telegram.Bot/releases

We can close this issue once the last version is available in Nuget, and we update the package.

Jadhielv commented 3 years ago

That's ok. I would like to help you with this @nminaya

nminaya commented 3 years ago

@Jadhielv Ok 👍. This will need some testing. The new Telegram.Bot version could have some breaking changes.