exotic-emerald•14mo ago
Error while using OpenAI Model
Getting below error with OpenAI gpt4o model but working fine with other models like claude.
19 Replies
Relevant threads
These are relevant threads you might take a look into before continuing further:
- <#1237515864874680362>
@YasH
I'm sorry to hear that you're experiencing issues with the OpenAI gpt4o model. This error message indicates that there might be a problem with the pipeline for the specific model you're trying to use. It could be a temporary issue or something that needs to be addressed by the support team.
To assist you better, could you please provide me with more details about the context in which this error occurs? For example, are you using a specific function or feature when this error appears? Any additional information would be helpful in diagnosing the problem.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @Vapi Team for additional help.
correct-apricot•14mo ago
please share the call id.
exotic-emeraldOP•14mo ago
Call id: 2d8f94a2-90c3-4c89-81b5-edad4a8e659d
@Shubham Bajaj
correct-apricot•14mo ago
Your
saveAllUserResponsesAtEnd
function schema is not correct.
Error Message: "Invalid schema for function 'saveAllUserResponsesAtEnd': In context=('properties', 'question_and_respons_list'), array schema missing items"
To fix this error, you need to modify the schema definition for the questionAndResponsList property. Here's how you can correct it:
exotic-emeraldOP•14mo ago
But why it is working for other models.
correct-apricot•14mo ago
For the array type you require to define items property as well.
Can you please share the call ids where it's working w/o items property.
exotic-emeraldOP•14mo ago
Yes I was trying that only but it was giving errors on dashboard. let me retry and get back to you.
I am not sure that was after or before I made some schema updates. Let me try fresh again.
correct-apricot•14mo ago
Sure try and let me know.
exotic-emeraldOP•14mo ago
See, I am not able to add items

exotic-emeraldOP•14mo ago
Earlier as well I got errors while creating array of objects.
write to describe the string?
2: Also how to make a function required?
I don't see the option in the dashboard
3: Lastly, I keep marking my tools "Async" in dashboard but it keeps on switching back to disabled. There is serious problem with updates on Vapi dashboard.
@Shubham Bajaj
correct-apricot•14mo ago
1. share a loom video of unable to mark tools async and error creating array of objects
2. you make a function required(always call) using prompting
@YasH
exotic-emeraldOP•14mo ago
okay let me come back to you on this by evening.
exotic-emeraldOP•14mo ago
Here it is for async update not working: https://www.loom.com/share/bd0b980358a24f8eb28d20e3e6a5c155?sid=4532e1f6-dc7c-43a8-b4f4-3cad153a7cd4
exotic-emeraldOP•14mo ago
For creating tool with array of objects: https://www.loom.com/share/5edc97211191454181211d178f8ec1aa
exotic-emeraldOP•14mo ago
@Shubham Bajaj
VAP-1580 - Failed to update Tool as async using Dashboard
Failing to mark tool as aysnc tool using dashboard for reference checkout https://www.loom.com/share/bd0b980358a24f8eb28d20e3e6a5c155?sid=4532e1f6-dc7c-43a8-b4f4-3cad153a7cd4
Status
Triage
Vapi
VAP-1581 - Tool Creation Failed
Failing to create tool for parameter type array<object>
Status
Triage
Vapi
correct-apricot•14mo ago
@YasH issues have been created will be resolved.