S
S
snegposhel2021-10-14 22:11:13
API
snegposhel, 2021-10-14 22:11:13

How to handle vk api 18 exception?

61688194103df847818970.pngHelp please with an error how to handle error 18 VK through try except directly with the code, please, dug everything myself tried it does not work

vk_api.exceptions.ApiError: [18] User was deleted or banned

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
snegposhel, 2021-10-14
@snegposhel

try:
     todo       
 except vk_api.exceptions.ApiError:
     print('Челикс заблочен сорьки')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question