FutureSttpClient is unable to process polling repsonses from Telegram
See original GitHub issueJust after bot is started, Log trace prints the following error after every polling attempt by SttPClient.
From the response, it seems telegram APIs are not giving the correct responses.
[error, com.bot4s.telegram.clients.FutureSttpClient] RESPONSE 4ca5a90f-6867-48d9-86e8-fcaa1dc1e934 java.lang.IllegalArgumentException: requirement failed: Exactly one of the optional fields should be used
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
socket.timeout on telegram bot.polling() - Stack Overflow
At first it works correctly and then after a few hours it stops responding. This is sample code import telebot API_TOKEN = 'API_TOKEN'...
Read more >Long Polling vs. Webhooks - grammY
Polling means that grammY proactively sends a request to Telegram, asking for new updates (think: messages). If no messages are there, Telegram ......
Read more >Bots FAQ - Telegram APIs
Hello Bot demonstrates the basics of the Telegram bot API. Simple Poll bot is a more complete example, it supports both long-polling and...
Read more >TelegramBots/Telegram.Bot.Extensions.Polling - GitHub
There are two implementations: BlockingUpdateReceiver blocks execution on every new getUpdates request; QueuedUpdateReceiver enqueues updates in an internal ...
Read more >Telegram Bot Problem with Post HTTP - Question - Mbed
I have tried to send a message to a telegram bot with HTTPClient. ... I think the way library shrink the URL cannot...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found the reason of crash as well:
https://github.com/bot4s/telegram/pull/97
Please look into this