Error when adding Text Snippet KB

I received this error when trying to add a Text Snippet KB:

{“status”:“error”,“message”:"too many texts, please reduce the number of texts to below 50}

The remaining ingestion quota for the KB says 50 so we should be able to still add one.

The KB ID is: knowledge_base_6e357aeeed02a7fb

Hey @skhandor That error comes from the storage limit, not the ingestion quota. A knowledge base can hold at most 50 custom text snippets at once. The error says “reduce below 50”, so this KB probably already has 50 text snippets.

Ingestion quota: This is the “remaining” count you saw. It tracks how many additions are still allowed. It doesn’t show how many snippets are currently stored. Deleting a source doesn’t restore it.

To resolve this, could you please try deleting an existing text snippet. Deleting is free and frees up storage. You can also create another knowledge base, since an agent can use more than one. Each KB has its own quota. Either way, you still need at least 1 remaining text in the ingestion quota.

For more details you can see : Knowledge base setup and retrieval tuning

Please let me know if this resolves the issue.

Thank You

Hi @skhandor, one more option on top of Shah’s answer.

Text snippets and uploaded files have separate limits. The 50 limit is only for snippets, files count in their own quota.

So you can merge related snippets into one TXT file, with a clear heading for each part. Upload the file, then delete the old snippets to free the space.

It is also easier to keep up to date: you change one file, not 30 snippets.

Good luck with the agent.