Answer the question
In order to leave comments, you need to log in
Why does an error occur when using the groups.edit method?
An error occurs while executing this code. Why?
import time, vk_api
from vk_api.longpoll import VkLongPoll, VkEventType
owner = 193104823#ид группы# названия сообщества
vk_session = vk_api.VkApi(token='токнн от группы')
api = vk_session.get_api()
api.groups.edit(group_id=owner,title='pia',description='his')
Traceback (most recent call last):
File "dlya artema.py", line 8, in <module>
api.groups.edit(group_id=owner, title='p***a', description='p***o easy')
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/vk_api/vk_api.py", line 681, in __call__
return self._vk.method(self._method, kwargs)
File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/vk_api/vk_api.py", line 646, in __call__
raise error
vk_api.exceptions.ApiError: [27] Group authorization failed: method is unavailable with group auth.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question