agentOverrides.voice.property voiceId should not e...
# support
b
I have created an agent , with deepgram asr+gptllm+CUSTOM TTS, as follows using python
Copy code
from vapi import Vapi

client = Vapi(token=MY_TOKEN) ## private key

with open("assistant_create.json", "r") as f:
    conf = json.load(f)


response = client.assistants.create(**conf)
My configuration is as follows
Copy code
{
  "name": "Movie Booking Assistant",
  "model": {
    "model": "gpt-4o",
    "messages": [
      {
        "role": "system",
        "content": "# You are a helpful movie ticket booking assistant. \n## Your job is to collect following details from the user:\n- Name of the movie\n- The date of the movie\n- The number of people attending\n- The venue (city or theater name)\n## Instructions\n- Ask one question at a time. Do not guess or assume missing information. Be conversational and friendly.\n- After collecting all the above details, summarize the booking once.\n- If the user says yes to the final summary , then end the chat with \"Thank you for booking with us!\""
      }
    ],
    "provider": "openai"
  },
  "first_message": "Welcome to the movie ticket booking system. How can i help you?",
  "voicemail_message": "Please call back when you're available.",
  "end_call_message": "Goodbye.",
  "transcriber": {
    "model": "nova-2",
    "language": "en",
    "provider": "deepgram"
  },
  "voice" :{
        "provider": "custom-voice",
        "server" : {
            "url": MY_TTS_ENDPOINT,
            "secret": "",
            "timeoutSeconds": 45,
            "headers": {"Content-Type": "application/json", "X-API-Version": "v1"}
        }
        
    }
}
Assistant is created successfully. However , when i am making a call on dashboard by click on "Talk to assistant", conversation is not initiated and I am getting the message that "agentOverrides.voice.property voiceId property should not exist". and also the agent is always in unpublished state.
v
To resolve the "agentOverrides.voice.property voiceId should not exist" error, ensure your voice configuration does not include a
voiceId
property when using a custom TTS provider.
Here’s the correct format:
Copy code
json
"voice": {
  "provider": "custom-voice",
  "server": {
    "url": "YOUR_TTS_ENDPOINT",
    "secret": "",
    "timeoutSeconds": 45,
    "headers": {
      "Content-Type": "application/json",
      "X-API-Version": "v1"
    }
  }
}
Double-check your configuration and remove any
voiceId
field, then try publishing and testing your assistant again. (Reference: found information)
b
this is my voice conf
Copy code
"voice" :{
        "provider": "custom-voice",
        "server" : {
            "url": MY_TTS_ENDPOINT,
            "secret": "",
            "timeoutSeconds": 45,
            "headers": {"Content-Type": "application/json", "X-API-Version": "v1"}
        }
        
    }
it doesnt have voiceId field
@User
it looks like vapi platform is adding --> voiceId: "sarah" when we are using python sdk to create assistants.. can someone help ?
c
Hi Bhargav Chinnari, If you encounter issues with your voice agent, make sure you have specified the correct
voiceId
and
model
. Recently, the platform expanded to allow specifying any valid
voiceId
for assistant voices, offering more flexibility for configurations. You can also specify Deepgram voice models as "aura" or "aura-2" by setting the
model
property. For detailed guidance on voice configurations and updates, you can refer to the [April 12, 2025 Changelog](https://docs.vapi.ai/changelog/2025/4/12) and the [API Reference](https://docs.vapi.ai/api-reference/tools/delete). If you have more specific issues or need further configuration assistance, please let me know.
b
I am trying to use custoom voice in my agent and I did not provide any voiceId (see my configuration above). Yet, I am getting error message about voiceId
I am stuck here, I tried diffreent ways. I am not able to move forward. can someone help @User @User @User
c
Could you send the full response you are getting including the error?
b
I created an assistant, with python sdk, with above configuration which is deepgram asr+gpt llm+ custom tts. (assistant ID: afeec402-e520-4949-9bd8-744190015f57" 1. The very first time (that is just after creating assistant) when I click on "Talk to assistant" on dashbpoard, conversation widget opens but nothing happens but i can see just the message that "call is in progress". Also, the assistant goes into unpublished state . 2. When I make a call from second time onwards, by clicking on the "Talk to assistant" on dashboard, I see "Error assistantOverrides.voice.property voiceId should not exist 3. Agent is always in unpublished state. when I click on publish, I see the message that "Your assistant configuration is updated and deployed" . but agent goes into unpublished state 4. When I click on "Code ", there are is always one unsaved change. That unsaved change is "voiceId: "Sarah". I don't know why assistant is picking this up. I don't have "voiceId" in my configuration . @User @User @User
@User ? @Shubham Bajaj
could anyone suggest a solution ? have been waitining for it since 10 days.. @User @Shubham Bajaj @Sahil
can someone help @User @Vapi @Vapi Support Bot
c
We’ll share an update as soon as more information becomes available. We appreciate your understanding and patience as we continue our investigation.
b
sure..Thanks
c
We appreciate your patience and understanding while we continue looking into this.
6 Views