dry-scarletD
VAPI4mo ago
dry-scarlet

Error creating data JSON in analysis plan

Hi,

I have a call that is 11 minutes, where the successEvaluation indicates a perfect success, however it did not give any structuredData. In the logs I can see that it got an error from all models when trying to create the structuredData. Other calls create the structuredData just fine.

Is this something that I did wrong on my end or was it an error on VAPIs side? Also, is it possible to retry or rerrun the analysisPlan somehow? Or do i have to do my own analysis on my own backend if the VAPI one failed?

I attach some screenshots (we are mainly using VAPI api):
KEY
VALUE
time
Sep 15, 17:36:18.553
level
ERROR
body
Google GenerateContent error
attributes.category
model
attributes.callId
9ff7130e-f720-45e9-92f8-889c572f7046
attributes.orgId
f3a148cc-7c14-4337-917a-51ea93cfde61
attributes.provider
google
attributes.model
gemini-2.5-flash
attributes.error.message
Google API request timed out after 5000ms. model = gemini-2.5-flash
attributes.error.name
Error
attributes.error.stack
Error: Google API request timed out after 5000ms. model = gemini-2.5-flash at Timeout._onTimeout (/app/dist/libs/core/src/thirdPartyFunctions/googleFunctions.js:304:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)
attributes.metrics.latencyMs
5001
Screenshot_2025-09-16_at_14.36.25.png
Screenshot_2025-09-16_at_14.36.17.png
Was this page helpful?