Skip to content

telegram getupdates error 'Telegram returned an invalid response' #468

Closed
@therobb

Description

@therobb

Required Information

  • PHP version: 5.6.23
  • PHP Telegram Bot version: last update
  • Using MySQL database: yes
  • Update Method: getUpdates

Actual behaviour

getUpdatesCLI.php returns:

php exception 'Longman\TelegramBot\Exception\TelegramException' with message 'Telegram returned an invalid response! Please review your bot name and API key.' in E:\xampp\htdocs\core-master\src\Request.php:333 Stack trace: #0 E:\xampp\htdocs\core-master\src\Request.php(808): Longman\TelegramBot\Request::send('getUpdates', Array) #1 E:\xampp\htdocs\core-master\src\Telegram.php(340): Longman\TelegramBot\Request::getUpdates(Array) #2 E:\xampp\htdocs\core-master\getUpdatesCLI.php(73): Longman\TelegramBot\Telegram->handleGetUpdates() #3 {main}

Steps to reproduce

API key is correct, double-checked and is fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions