Seygi
02/25/2025, 7:17 PMcurl --location 'https://api.vapi.ai/knowledge-base' \
--header 'Content-Type: text/plain' \
--header 'Authorization: Bearer redacted' \
--data '{
"name": "cdede79f-c4c3-4785-924a-fd7412efacd0",
"provider": "trieve",
"searchPlan": {
"searchType": "hybrid"
},
"createPlan": {
"type": "create",
"chunkPlans": [
{
"fileIds": [
"0dc2a9df-8300-40fa-a3a7-f0486151ea51"
],
"websites": [],
"targetSplitsPerChunk": 5,
"rebalanceChunks": true
}
]
}
}'
Im receiving this error
{
"message": "Invalid Knowledge Base Details. Failed to create trieve dataset",
"error": "Bad Request",
"statusCode": 400
}
Seygi
02/25/2025, 7:17 PMSeygi
02/25/2025, 7:17 PMCTmun
02/25/2025, 7:54 PMCTmun
02/25/2025, 7:54 PMSteveCachia
02/25/2025, 9:41 PMCTmun
02/25/2025, 11:30 PMCTmun
02/25/2025, 11:30 PMCTmun
02/25/2025, 11:30 PMCTmun
02/25/2025, 11:31 PMSlaviSavanovic
02/26/2025, 4:21 AMSeygi
02/26/2025, 12:41 PMCTmun
02/26/2025, 1:44 PMSeygi
02/26/2025, 2:03 PMCTmun
02/26/2025, 2:05 PMSlaviSavanovic
02/26/2025, 4:05 PMShubham Bajaj
02/26/2025, 4:40 PMSeygi
02/26/2025, 5:23 PMapatzer
02/26/2025, 10:07 PM"message": "Invalid Knowledge Base Details. Failed to validate trieve dataset: dataset not found",
Seems obvious, wrong Dataset ID in the providerId
field. Nope, double & triple checked it. Is there a prefix, or other trick here?apatzer
02/26/2025, 11:22 PMLLMUser995
02/27/2025, 12:03 AMRC
02/27/2025, 4:55 AMLLMUser995
02/27/2025, 3:04 PMLLMUser995
02/27/2025, 3:04 PMNicolas Correa
02/27/2025, 6:49 PMSeygi
02/27/2025, 9:24 PMNicolas Correa
02/27/2025, 9:28 PMLLMUser995
02/27/2025, 10:08 PMapatzer
02/27/2025, 10:09 PMNicolas Correa
02/27/2025, 10:42 PMNick K - CEO @ Trieve
03/01/2025, 6:43 AMAditya
03/02/2025, 2:36 PM