Answer the question
In order to leave comments, you need to log in
Why doesn't the bot send the keyboard?
5 minutes ago, the bot was sending a keyboard, but now I'm getting an error, how can I fix it?
Error:
Traceback (most recent call last):
File "bot.py", line 624, in
vk.method("messages.send", {"peer_id": event.object.peer_id, "keyboard": keyboard, "random_id ": 0})
File "/home/GCBOT/.local/lib/python3.8/site-packages/vk_api/vk_api.py", line 646, in method
raise error
vk_api.exceptions.ApiError: [100] One of the parameters specified was missing or invalid: message is empty or invalid
Answer the question
In order to leave comments, you need to log in
message is empty or invalid
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question