Am not using Make.com Right now am having my own customized API and From my own python code am sedning configuration file to the vapi
{
"functions": [
{
"name": "book_appointment",
"description": "...",
"parameters": {...},
"server": {
"url": "https://example.com/book",
"secret": "my-secret-token"
}
},
{
"name": "get_available_slots",
"description": "...",
"parameters": {...},
"server": {
"url": "https://example.com/slots",
"secret": "my-secret-token"
}
}
]
}
THis is How my overall file looks like
and am getting this issue - i mean when am sending this configuraion without token then everything works fine But when i add tokejn in this configuration , then am getting this message -
{'message': ['assistant.model.functions.0.property server should not exist'], 'error': 'Bad Request', 'statusCode': 400}