variableValues not overriding
# support
n
The call goes through but the variable name does not get replaced? Data body { "customer": {"number": "+61490364616"}, "assistantId": "2a799841-17cd-45f3-a01f-17fb99288bee", "assistantOverrides": {"variableValues": {"name": "nick"}}, "phoneNumberId": "db1f768e-b787-4154-99fd-94a607322d66" }
v
Hi @Nick | CFive, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Web Calling]() * [Get Call]() * [Web SDK]() * [Dynamic Variables]() -----------------------------
### Answer If the
variableValues
are not overriding as expected, it could be a result of how the
assistantOverrides
are structured or a problem in the assistant configuration that was initially set up. Make sure that the dynamic variables are correctly configured in your assistant’s setup, and that the properties you are trying to override are indeed set as dynamic variables within the assistant configuration [(1)]() . Here's a quick checklist: 1. **Confirm Dynamic Variables**: Ensure that the variable
name
is properly configured as a dynamic variable in your assistant setup. 2. **Correct JSON Structure**: The JSON body of your request seems correct, but it's worth double-checking for any syntactical errors or misplaced brackets. If these settings are correct and the issue persists, it could be a more technical issue that may require looking at logs or the specific assistant configuration on the server side. For more information on using dynamic variables with assistants, you can refer to the [Dynamic Variables documentation]().
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.
n
I didnt put double curely braces on the variable in the prompt
thanks team