fabi
04/14/2025, 11:51 AMKings_big💫
04/14/2025, 11:52 AMVapi Support Bot
04/14/2025, 11:53 AMREAD_DATASET
permission
### Trieve Integration Issues
There appears to be a known issue with how Vapi's system syncs with Trieve. According to [multiple user reports](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1344182165990015016), this can cause the "dataset not found" error even when the Dataset ID and API key are correct.
### Request Body Validation
Your request body looks correct in structure, but make sure:
- The providerId
is exactly matching your Trieve Dataset ID
- The searchType
value "hybrid" is supported (though this shouldn't cause the specific error you're seeing)
### Workaround Solution
A common workaround that has helped others with this exact error is to:
1. Create a dataset directly in Trieve
2. Upload your files to that dataset
3. Generate a new Trieve API key specifically for that dataset
4. Add this API key to Vapi's Provider Credentials
5. Then use the import API to create the Knowledge BaseVapi Support Bot
04/14/2025, 11:53 AMfabi
04/14/2025, 1:29 PMfabi
04/14/2025, 1:29 PMfabi
04/14/2025, 1:30 PMKings_big💫
04/14/2025, 1:30 PMfabi
04/14/2025, 1:32 PMKings_big💫
04/14/2025, 1:45 PM{
"message": "Invalid Knowledge Base Details. Failed to validate trieve dataset: dataset not found",
"error": "Bad Request",
"statusCode": 400
}
Kings_big💫
04/14/2025, 1:46 PMfabi
04/15/2025, 8:59 AMKings_big💫
04/15/2025, 9:44 AMfabi
04/15/2025, 10:56 AM{
"message": "Invalid Knowledge Base Details. Failed to validate trieve dataset: dataset not found",
"error": "Bad Request",
"statusCode": 400
}
fabi
04/15/2025, 10:56 AMfabi
04/15/2025, 12:04 PMShubham Bajaj
04/17/2025, 9:16 PM