error updating Assistant :voice.fallbackPlan.each ...
# support
v
To fix the error, remove any
languageCode
property from your fallback voice configuration.
If you need to specify language, use
language
(not
languageCode
)โ€”and only for providers that support it. Example:
Copy code
json
{
  "voice": {
    "provider": "openai",
    "voiceId": "shimmer",
    "fallbackPlan": {
      "voices": [
        {
          "provider": "cartesia",
          "voiceId": "248be419-c632-4f23-adf1-5324ed7dbf1d",
          "language": "en" // Use "language" if needed, not "languageCode"
        }
      ]
    }
  }
}
Try this update and your assistant should publish without the error. For more details, see the [Voice fallback configuration documentation](https://docs.vapi.ai/voice-fallback-plan). Source: - [Voice fallback configuration documentation](https://docs.vapi.ai/voice-fallback-plan)
v
Message marked as helpful by @tano3312! ๐ŸŽ‰