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

Bad Request 400 (without any error's description) #389

Open
Shellai opened this issue Jan 22, 2023 · 2 comments
Open

Bad Request 400 (without any error's description) #389

Shellai opened this issue Jan 22, 2023 · 2 comments

Comments

@Shellai
Copy link

Shellai commented Jan 22, 2023

Hello! I have an error, when executing these API-functions one after another: getChat, getMe, getChatMember.
The third function gives me an error 404 (Bad Request) without any description. But I have tested these functions separately and it works. For example, I have used only getChatMember and error won't appear. Can you help me? Is it limit for 3 methods on Telegram?

@Shellai
Copy link
Author

Shellai commented Jan 22, 2023

TelegramBot\Api\HttpException Object
(
[message:protected] => Bad Request
[string:Exception:private] =>
[code:protected] => 400
[file:protected] => /www/site/vendor/telegram-bot/api/src/BotApi.php
[line:protected] => 288
)

@Shellai
Copy link
Author

Shellai commented Jan 22, 2023

UPD! I have just tested methods with directly calling CURL to Telegram and it works fine. So, the problem appears when use library.

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

1 participant