500 Error When Creating Customer with assistantOverride
Hi VAPI Support Team,
I’m encountering an issue when creating Customer objects via the API.
The request works successfully when I include only name and number, but it returns a 500 Internal Server Error whenever I include assistantOverrides.variableValues.
orgId: 727f8c9d-9632-4e41-9268-1919aa9c97c7
Below are the details:
=====================================================
This works:
Request:POST https://api.vapi.ai/customer
{
"name": "jonny",
"number": "+19174761638"
}
Response:
{
"id": "87011052-9735-41bd-93d2-5b4422b56365",
"orgId": "727f8c9d-9632-4e41-9268-1919aa9c97c7",
"number": "+19174761638",
"createdAt": "2025-10-08T01:32:13.207Z",
"updatedAt": "2025-10-08T01:32:13.207Z",
"name": "jonny"
}
==================================================
This fails:
Request:POST https://api.vapi.ai/customer
{
"name": "jonny",
"number": "+19174761638",
"assistantOverrides": {
"variableValues": {
"Cur_State": "NY"
}
}
}
Response:
{
"statusCode": 500,
"message": "Internal server error. Contact support@vapi.ai for help."
}
=================================================
Could you please confirm what am I missing?
Thank you for your help!
Best regards,
Ronak Shah
shah.ronak@columbia.edu
I’m encountering an issue when creating Customer objects via the API.
The request works successfully when I include only name and number, but it returns a 500 Internal Server Error whenever I include assistantOverrides.variableValues.
orgId: 727f8c9d-9632-4e41-9268-1919aa9c97c7
Below are the details:
=====================================================
Request:POST https://api.vapi.ai/customer
{
"name": "jonny",
"number": "+19174761638"
}
Response:
{
"id": "87011052-9735-41bd-93d2-5b4422b56365",
"orgId": "727f8c9d-9632-4e41-9268-1919aa9c97c7",
"number": "+19174761638",
"createdAt": "2025-10-08T01:32:13.207Z",
"updatedAt": "2025-10-08T01:32:13.207Z",
"name": "jonny"
}
==================================================
Request:POST https://api.vapi.ai/customer
{
"name": "jonny",
"number": "+19174761638",
"assistantOverrides": {
"variableValues": {
"Cur_State": "NY"
}
}
}
Response:
{
"statusCode": 500,
"message": "Internal server error. Contact support@vapi.ai for help."
}
=================================================
Could you please confirm what am I missing?
Thank you for your help!
Best regards,
Ronak Shah
shah.ronak@columbia.edu

