lior_cychi
06/19/2025, 6:27 AM{
"voice": {
"server": {
"url": "https://WEBHOOK_URL",
"secret": "SECRET",
"headers": {
"Content-Type": "application/json",
"X-API-Version": "v1"
},
"timeoutSeconds": 45
},
"provider": "custom-voice",
"fallbackPlan": {
"voices": [
{
"model": "gpt-4o-mini-tts",
"voiceId": "shimmer",
"provider": "openai",
"instructions": "Speak in calm and professional tone. "
}
]
}
}
}
Cannot access the assistant in the dashboard:
Error: TypeError
Message: Cannot read properties of undefined (reading 'models')
Tried also removing the secret
field, and add a custom header instead, but without success.Vapi Support Bot
06/19/2025, 6:28 AMmodel
field for the openai
provider, but the [documentation](https://docs.vapi.ai/customization/custom-voices/custom-tts) only shows provider
and voiceId
in fallback examples. This may be causing the dashboard error:
TypeError: Cannot read properties of undefined (reading 'models')
Could you try removing the "model": "gpt-4o-mini-tts"
line from your fallback plan and see if the error persists?
Source:
- [Custom TTS integration](https://docs.vapi.ai/customization/custom-voices/custom-tts)lior_cychi
06/19/2025, 6:31 AMlior_cychi
06/19/2025, 7:01 AMVapi Support Bot
06/19/2025, 7:03 AMprovider
and voiceId
in your fallback plan, as shown below:
json
"fallbackPlan": {
"voices": [
{
"provider": "openai",
"voiceId": "shimmer"
}
]
}
Remove any model
or instructions
fields from the fallback voice. If the error persists, it may be a dashboard bug or an unsupported configuration not covered in the documentation.
See: [Custom TTS integration docs](https://docs.vapi.ai/customization/custom-voices/custom-tts)
Source:
- [Custom TTS integration](https://docs.vapi.ai/customization/custom-voices/custom-tts)Kings_big💫
06/19/2025, 10:31 AMlior_cychi
06/19/2025, 11:45 AM{
"voice": {
"models": [
".."
],
"server": {
"url": "https://WEBHOOK_URL",
"secret": "SECRET",
"headers": {
"Content-Type": "application/json",
"X-API-Version": "v1"
},
"timeoutSeconds": 45
},
"provider": "custom-voice",
"fallbackPlan": {
"voices": [
{
"voiceId": "shimmer",
"provider": "openai"
}
]
}
}
}
Response:
{
"message": [
"voice.property models should not exist"
],
"error": "Bad Request",
"statusCode": 400
}
Do you mean something else?lior_cychi
06/19/2025, 1:22 PMVapi Support Bot
06/19/2025, 1:24 PMprovider
and voiceId
in your fallback plan, as shown below:
json
"fallbackPlan": {
"voices": [
{
"provider": "openai",
"voiceId": "shimmer"
}
]
}
Remove any model
, instructions
, or models
fields from your configuration. If the error persists after this change, it may be a dashboard bug not covered in the documentation.
Source: [Custom TTS integration documentation](https://docs.vapi.ai/customization/custom-voices/custom-tts)
Source:
- [Custom TTS integration documentation](https://docs.vapi.ai/customization/custom-voices/custom-tts)Kings_big💫
06/19/2025, 2:23 PMlior_cychi
06/19/2025, 2:37 PMVapi Support Bot
06/19/2025, 2:39 PMjson
{
"voice": {
"provider": "custom-voice",
"server": {
"url": "https://YOUR_TTS_WEBHOOK_URL",
"secret": "YOUR_SECRET",
"headers": {
"Content-Type": "application/json",
"X-API-Version": "v1"
},
"timeoutSeconds": 45
},
"fallbackPlan": {
"voices": [
{
"provider": "openai",
"voiceId": "shimmer"
}
]
}
}
}
Only use provider
and voiceId
in the fallback voices. Do not include models
, model
, or instructions
fields.
[See the official docs for reference.](https://docs.vapi.ai/customization/custom-voices/custom-tts)
Source:
- [Custom TTS integration documentation](https://docs.vapi.ai/customization/custom-voices/custom-tts)lior_cychi
06/19/2025, 3:01 PMKings_big💫
06/19/2025, 4:02 PMYOWAV
06/28/2025, 7:50 PMKings_big💫
06/28/2025, 7:57 PMVapi
06/30/2025, 2:56 AMcurl -X POST https://api.vapi.ai/assistant \
-H "Authorization: Bearer " \
-H "Content-Type: application/json" \
-d '{
"voice": {
"provider": "custom-voice",
"server": {
"timeoutSeconds": 0,
"url": "",
"headers": {},
"backoffPlan": {
"maxRetries": 0,
"baseDelaySeconds": 0
}
},
"fallbackPlan": {
"voices": [
{
"provider": "azure"
}
]
}
}
}'