Any idea how to fix this? I am not sure how this error comes up, I went step by step with the video.
This is the request string (keys ommitted) (Error below)
I dont know why It's saying something about a web address...
curl -X POST
https://api.vapi.ai/knowledge-base \
-H "Authorization: Bearer 8d3a3305-XXXXXXXXec6341" \
-H "Content-Type: application/json" \
-d '{
"provider": "trieve",
"searchPlan": {
"searchType": "hybrid",
"removeStopWords": true
},
"name": "CAS KB 1-24-2025",
"createPlan": {
"type": "create",
"chunkPlans": [
{
"fileIds": [
"6bc-cb4XXXXXXXd87-39daa6513917"
],
"targetSplitsPerChunk": 1,
"splitDelimiters": [
"~"
]
}
]
}
}'
And this is the error
{
"message": [
"createPlan.chunkPlans.0.each value in websites must be a valid URL."
],
"error": "Bad Request",
"statusCode": 400
}