zonvimar
07/06/2025, 1:54 PMzonvimar
07/06/2025, 1:57 PMshahretell
07/16/2025, 9:40 PMrajrishidutta
08/13/2025, 7:35 AMrajrishidutta
08/20/2025, 8:15 AMOmar Ashraf | Community Lead
08/20/2025, 8:50 AMOmar Ashraf | Community Lead
08/20/2025, 10:09 AMrajrishidutta
08/21/2025, 10:31 AM/tmp/${filenameOutput})
);
const add_kb_response = await axios.post(
https://api.retellai.com/add-knowledge-base-sources/${knowledgeBaseResponses[0].knowledge_base_id},
form,
{
headers: {
...form.getHeaders(),
Authorization: Bearer ${process.env.RETELL_API_KEY},
},
}
);Omar Ashraf | Community Lead
08/21/2025, 10:33 AMOmar Ashraf | Community Lead
08/21/2025, 10:33 AMBearer ${client.apiKey},
},
body: formData,
});
if (!response.ok) {
const errorText = await response.text();
console.error('Error creating knowledge base:', errorText);
return;
}
const result = await response.json();
console.log('Knowledge base created successfully:', result);
} catch (error) {
console.error('Error:', error);
}
}
main();`rajrishidutta
08/22/2025, 11:38 AMOmar Ashraf | Community Lead
08/22/2025, 11:59 AMrajrishidutta
08/22/2025, 12:24 PM${knowledgeBaseResponses[0].knowledge_base_name}
);Omar Ashraf | Community Lead
08/22/2025, 12:31 PMsekharm_95325
11/17/2025, 7:59 PM${RETELL_API_BASE}/create-knowledge-base, {
method: 'POST',
headers: {
'Authorization': Bearer ${this.apiKey},
},
body: formData,
});
if (!response.ok) {
const error = await response.text();
throw new Error(Failed to create knowledge base: ${error});
}
return response.json();
Error occurred:
Message: Failed to create knowledge base: {"status":"error","message":"Internal Server Error"}
Stack: Error: Failed to create knowledge base: {"status":"error","message":"Internal Server Error"}Omar Ashraf | Community Lead
11/17/2025, 8:15 PMjordi_69641
11/18/2025, 10:09 AM