Answer the question
In order to leave comments, you need to log in
How to fix an error when loading stickers in VK?
I can't upload stickers to VK. At some point, this feature simply fell off, however, the rest of the bots somehow still work. Previously, the script was written in php, now I am rewriting it in python as a standalone application.
The problem is in:
vk_api.exceptions.ApiError: [100] One of the parameters specified was missing or invalid: the 'graffiti' is a forbidden document type for this kind of client
session = vk_api.VkApi(token=token, api_version='5.84')
vk = session.get_api()
vk_upload = VkUpload(vk)
graffiti = vk_upload.graffiti(image='0.png', peer_id=peer_id)
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