#structured-output error
I am currently trying to implement structured output schema in the agent response. But it looks like there is an api error hitting while trying to create one
Tried to use vapi sdk and got the error as below:
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
vapi.core.api_error.ApiError: headers: {'date': 'Thu, 23 Oct 2025 19:15:21 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '87', 'connection': 'keep-alive', 'x-powered-by': 'Express', 'access-control-allow-origin': '*', 'x-robots-tag': 'noindex', 'etag': 'W/"57-TXCH3wKnwbC2P5/wyKGoUcqqAWw"', 'cf-cache-status': 'DYNAMIC', 'server': 'cloudflare', 'cf-ray': '9933900cdda9ec42-LHR', 'alt-svc': 'h3=":443"; ma=86400'}, status_code: 500, body: {'statusCode': 500, 'message': 'Internal server error. Contact support@vapi.ai for help.'}
Also in API got the same error:
Failed to create schema. Status Code: 500 {"statusCode":500,"message":"Internal server error. Contact support@vapi.ai for help."}
{"statusCode":500,"message":"Internal server error. Contact support@vapi.ai for help."}
Could you please have a look.
Tried to use vapi sdk and got the error as below:
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
vapi.core.api_error.ApiError: headers: {'date': 'Thu, 23 Oct 2025 19:15:21 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '87', 'connection': 'keep-alive', 'x-powered-by': 'Express', 'access-control-allow-origin': '*', 'x-robots-tag': 'noindex', 'etag': 'W/"57-TXCH3wKnwbC2P5/wyKGoUcqqAWw"', 'cf-cache-status': 'DYNAMIC', 'server': 'cloudflare', 'cf-ray': '9933900cdda9ec42-LHR', 'alt-svc': 'h3=":443"; ma=86400'}, status_code: 500, body: {'statusCode': 500, 'message': 'Internal server error. Contact support@vapi.ai for help.'}
Also in API got the same error:
{"statusCode":500,"message":"Internal server error. Contact support@vapi.ai for help."}
Could you please have a look.