Structured output problem
# support
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
v
To resolve the "missing item type configuration" error, make sure your
missing_fields
array includes an
items
property that defines the type and allowed values. Here’s the correct JSON Schema snippet:
Copy code
json
"missing_fields": {
  "type": "array",
  "description": "If complete is true, return an empty array []. If complete is false, list which fields are missing.",
  "items": {
    "type": "string",
    "enum": ["caller name", "phone number", "issue description", "address or area", "job type", "urgency"],
    "description": "One of: caller name, phone number, issue description, address or area, job type, urgency"
  }
}
Update your schema with this structure and try saving again. Source: - [Structured outputs quickstart](https://docs.vapi.ai/assistants/structured-outputs-quickstart)