Voice fallback not working
# support
n
Hi so I am trying to verify my voice fallback in squad config to fail my primary voice I added a custom-voice as provider and a dummy web hook (checked transcriber same way it worked) but voice gave error and doesn't go to the fallback voice Call Id:
019d6e27-2455-799f-99cf-cfe3754bac64
My Squad Config:
Copy code
"voice": {
                "model": "custom-voice",
                "server": {
                    "url": f"{server_url}custom-voice",
                    "credentialId": "3f8c2d4a-7b91-4e6f-9c2a-5d8f1a7b3c44"
                },
                "fallbackPlan": {
                    "voices": [
                        {
                            "voiceId": "Clara",
                            "provider": "vapi"
                        }
                    ]
                }   
            },
m
Seems like your custom voice isn’t throwing a hard failure, so Vapi never triggers the fallback. Make sure your webhook returns a non-200 or explicit error when it breaks. Also check it’s failing fast, not just hanging. Happy to help you debug this, what response/status does your endpoint return on failure? @Nukhbah
n
Copy code
INFO:     54.201.29.168:0 - "POST /tools/custom-voice HTTP/1.1" 503 Service Unavailable
I am sending an explicit error but its still not triggering fallback callId:
019d6eac-ebf4-7000-92d4-083999c3b096
m
If you’re returning 503, the issue is likely where the failure happens, fallback usually triggers only during synthesis, not pre-request rejection. Also ensure the response format (body/headers) matches what Vapi expects, not just the status code. I can help you debug this end-to-end let’s take it privately and go through your setup/logs together 👍 @Nukhbah
n
yes sure