https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hey, i am getting this error when i try to add kno...
# ❓・ai-evy-support
a
@AI Evy Hey, i am getting this error when i try to add knowledgebase sources, tell me what does this mean ? knowledge base has not completed indexing yet, update not allowed
a
Thanks for tagging me @afrah_85175. I'll look through relevant sources and get back to you shortly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer The error "knowledge base has not completed indexing yet, update not allowed" means that your knowledge base is still being processed and you need to wait before adding new sources. According to the documentation, knowledge bases have different status values [(1) ]() [(2) ]() : - "in_progress" - when it's created and being processed - "complete" - when the processing is done - "error" - when there's an error in processing You can check your knowledge base status using the Get Knowledge Base API [(1) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const knowledgeBaseResponse = await client.knowledgeBase.retrieve('kb_1234567890') ;
console.log(knowledgeBaseResponse.knowledge_base_id) ;
Wait until the status shows "complete" before trying to add new sources to your knowledge base [(1) ]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Get Knowledge Base](https://docs.retellai.com/api-references/get-knowledge-base) [[2] List Knowledge Bases](https://docs.retellai.com/api-references/list-knowledge-bases) ​