Custom TTS Integration Bug
# support
i
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
v
To fix the error, ensure your assistant's voice configuration uses "provider": "custom-voice" and does not include a
voiceId
. Here’s the correct structure:
Copy code
json
{
  "voice": {
    "provider": "custom-voice",
    "server": {
      "url": "https://your-tts-endpoint.com/api/synthesize",
      "secret": "your-webhook-secret",
      "timeoutSeconds": 45
    }
  }
}
Remove any
voiceId
property from your configuration before publishing.
If the UI keeps adding a
voiceId
, try updating via the API with this structure and contact support if the issue persists. (Reference: [Vapi custom TTS documentation](https://docs.vapi.ai/customization/custom-voices/custom-tts)) Source: - [Vapi custom TTS documentation](https://docs.vapi.ai/customization/custom-voices/custom-tts)
i
i did the same when doing the integration but got the exact same error
Copy code
{
  "voice": {
    "provider": "custom-voice",
    "server": {
      "url": "https://your-tts-endpoint.com/api/synthesize",
      "secret": "your-webhook-secret",
      "timeoutSeconds": 45
    }
  }
}
j
Hey, yeah, this is a known Vapi UI bug where it silently reverts to a default provider (Sarah) after first publish, especially with custom-voice configs. I’ve fixed this before by forcing the provider + voice lock via API and disabling UI overrides. I can help you patch this properly so it persists across saves and deploys. Quick question: are you creating the assistant via dashboard first or API-first workflow? @isoHunter
i
i am creating it with API
j
Got it, since you’re creating via API, this isn’t on your side. It’s a Vapi persistence bug where custom voices get overridden after save/publish. I’ve helped fix this exact issue by locking the voice config so the platform can’t inject Sarah again. Happy to walk you through it or just fix it for you. Want to connect privately and I’ll take a look at your setup? @isoHunter
i
Sure yes
@Jarrah i have sent you a private message
@User
c
Hi @isoHunter, Thank you for providing all the details. I managed to reproduce this issue and it appears to be a bug. This bug appears when custom TTS is selected. I have reported this to the team. And while they review this issue, I recommend using the API to make any updates to this particular assistant. We are sorry for any inconvenience that might have caused you.