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

getUpdates method: Fatal error: Uncaught exception 'TelegramBot\Api\HttpException' with message 'Conflict' #68

Closed
666b666 opened this issue Jul 1, 2017 · 1 comment

Comments

@666b666
Copy link

666b666 commented Jul 1, 2017

hi there
i'm completely noob at this repository
phpcode:

getUpdates(); print_r($updates); when i trying to use getUpdates method, i get this err: ```
Fatal error:  Uncaught exception 'TelegramBot\Api\HttpException' with message 'Conflict' in /path/to/vendor/vendor/telegram-bot/api/src/BotApi.php:261
Stack trace:
#0 /path/to/vendor/telegram-bot/api/src/BotApi.php(241): 
TelegramBot\Api\BotApi::curlValidate(Resource id #7)
#1/path/to/vendor/telegram-bot/api/src/BotApi.php(210): TelegramBot\Api\BotApi->executeCurl(Array)
#2 /path/to/vendor/telegram-bot/api/src/BotApi.php(453): TelegramBot\Api\BotApi->call('getUpdates', Array)
#3 /path/to/bot/bot.php(10): TelegramBot\Api\BotApi->getUpdates()
#4 {main}
  thrown in /path/to/vendor/telegram-bot/api/src/BotApi.php on line 261
``` what's wrong? is there any **COMPLETE** guide to use all methods?
@TheMY3
Copy link
Member

TheMY3 commented Jul 7, 2017

@666b666 it's error from Telegram Bot API, I can extend error text is it possible in next update.

@MyZik MyZik closed this as completed Aug 7, 2020
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

3 participants