Closed tayyabbashir2224 closed 1 year ago
Hi @tayyabbashir2224, is this resolved for you?
Since you're calling this via the web, you'll need to allow your IP address specifically via the config.
Either declare your IP as trusted (recommended):
'validate_request' => true,
'valid_ips' => [
'1.2.3.4', // put your IP here
],
Or allow any IP (not recommended):
'validate_request' => false,
Hi @tayyabbashir2224, is this resolved for you?
Since you're calling this via the web, you'll need to allow your IP address specifically via the config.
Either declare your IP as trusted (recommended):
'validate_request' => true, 'valid_ips' => [ '1.2.3.4', // put your IP here ],
Or allow any IP (not recommended):
'validate_request' => false,
set to false makes output webhhok set but /start command not works. everyting is already in there (config.php)
it is now working thanks...
Support Question
<-- ❗ NEVER put your Telegram API key or any other private details here. (like passwords, user IDs, etc.) Substitute them like or etc.
-->
Required Information
{...}
Summary
when i run https://mydomain.com/manager.php?s=T4yy4B&?a=unset i get this error Fatal error: Uncaught TelegramBot\TelegramBotManager\Exception\InvalidAccessException: Invalid access in /membri/mybbpk/vendor/php-telegram-bot/telegram-bot-manager/src/BotManager.php:476 Stack trace: #0 /membri/mybbpk/vendor/php-telegram-bot/telegram-bot-manager/src/BotManager.php(90): TelegramBot\TelegramBotManager\BotManager->validateRequest() #1 /membri/mybbpk/manager.php(31): TelegramBot\TelegramBotManager\BotManager->run() #2 {main} thrown in /membri/mybbpk/vendor/php-telegram-bot/telegram-bot-manager/src/BotManager.php on line 476