# Deleting knowledge bank through API throws an error

**URL:** <https://forum.convai.com/t/deleting-knowledge-bank-through-api-throws-an-error/1991>\
**Category:** Knowledge Bank\
**Tags:** question, knowledge-bank\
**Created:** [October 25, 2024, 1:11am UTC](https://forum.convai.com/t/deleting-knowledge-bank-through-api-throws-an-error/1991 "2024-10-25T01:11:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 25, 2024, 1:11am UTC](https://forum.convai.com/t/deleting-knowledge-bank-through-api-throws-an-error/1991/1 "2024-10-25T01:11:38Z")

</div>

**Original Discord Post by windz2160 | 2024-10-25 01:11:38**

hi

following the API documentation: [Knowledge Bank API | Convai Documentation](https://docs.convai.com/api-docs/reference/core-api-reference/character-tool-api/knowledge-bank-api#delete-a-kb-file)

it seems to throw an error

**Images:**  
 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/5ad04078946f5e1a6cda3468381f051bea7246dc.png)  
**Embedded Content:**  
**Knowledge Bank API | Documentation**  
All the relevant APIs needed to interact with Knowledge Bank for you AI characters with Convai.  
Link: [Knowledge Bank API | Convai Documentation](https://docs.convai.com/api-docs/reference/core-api-reference/character-tool-api/knowledge-bank-api)

 ![Thumbnail](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/b049c61381be8386e77f1f1ebfc7a4600c5e1ed8.png)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 28, 2024, 9:21am UTC](https://forum.convai.com/t/deleting-knowledge-bank-through-api-throws-an-error/1991/2 "2024-10-28T09:21:11Z")

</div>

**Reply by k3kalinix | 2024-10-28 09:21:11**

Hello \<@1123856025246760990\>,

I’ve informed my teammates. We’ll get back to you.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 28, 2024, 10:02am UTC](https://forum.convai.com/t/deleting-knowledge-bank-through-api-throws-an-error/1991/3 "2024-10-28T10:02:09Z")

</div>

**Reply by windz2160 | 2024-10-28 10:02:09**

thank you \<@1023671043287699568\>

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 28, 2024, 9:28pm UTC](https://forum.convai.com/t/deleting-knowledge-bank-through-api-throws-an-error/1991/4 "2024-10-28T21:28:24Z")

</div>

**Reply by sconvai | 2024-10-28 21:28:24**

\<@1123856025246760990\> : I have updated the documentation. Please try again.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 29, 2024, 4:01am UTC](https://forum.convai.com/t/deleting-knowledge-bank-through-api-throws-an-error/1991/5 "2024-10-29T04:01:02Z")

</div>

**Reply by windz2160 | 2024-10-29 04:01:02**

thanks \<@1118275510926053447\>

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [October 29, 2024, 8:54am UTC](https://forum.convai.com/t/deleting-knowledge-bank-through-api-throws-an-error/1991/6 "2024-10-29T08:54:17Z")

</div>

**Reply by windz2160 | 2024-10-29 08:54:17**

thank you again guys, deletion of knowledge file is working. best

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 25, 2024, 12:14pm UTC](https://forum.convai.com/t/deleting-knowledge-bank-through-api-throws-an-error/1991/7 "2024-11-25T12:14:08Z")

</div>

This conversation happened on the Convai Discord Server, so this post will be closed.
