Everyone!
I have made a video on how to fix the problem with the Knowledge Base using API fucntions:
https://youtu.be/DI1j6lTE8Q0▾
I hope it helps everyone who has had problems doing it themselves. Feel free to ask questions and I will answer to everyone