Jimmy
01/08/2026, 7:34 AMVapi Support Bot
01/08/2026, 7:35 AMitems type definition in your JSON Schema. To fix this, define the items property as an object with the required fields. Here’s an example:
json
{
"type": "object",
"properties": {
"questionAnswerSets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"question": { "type": "string" },
"answer": { "type": "string" }
},
"required": ["question", "answer"]
}
}
},
"required": ["questionAnswerSets"]
}
This should resolve the "missing item type configuration" error when saving your structured output. For more details, see the [Vapi structured output schema documentation](https://docs.vapi.ai/api-reference/structured-outputs/structured-output-controller-create).
Source:
- [Vapi Structured Output Controller Create API Reference](https://docs.vapi.ai/api-reference/structured-outputs/structured-output-controller-create)Jimmy
01/08/2026, 11:51 PMJimmy
01/08/2026, 11:51 PMChiranjeet Mishra
01/09/2026, 6:38 PMJimmy
01/10/2026, 4:40 AMChiranjeet Mishra
01/13/2026, 9:06 PM"type" field resolved the issue.
I understand how confusing it can be to see different error codes for similar situations—getting a 400 for missing "type":"ai" and a 500 when the schema is valid can definitely feel inconsistent. I’ll make a note of this behavior so we can clarify it for future reference.