structured data not coming .
# support
a
In assistant APi it is getting displayed, but on frontend, its coming blank..Also afte rthe end of call, it is not coming
v
Suggestion: Check if your frontend is correctly accessing the
structuredData
field from the call analysis object. For example, if you are using JavaScript/React:
Copy code
js
// Example: Accessing structured data from call analysis
const structuredData = call?.analysis?.structuredData;
console.log(structuredData); // Should log the extracted data if present
If
structuredData
is undefined or empty, ensure your API response includes it and that your frontend state updates after the call ends. Source: - [Vapi Call Analysis Documentation](https://docs.vapi.ai/assistants/call-analysis)
@Vapi Support Bot
v
Try this: After the call ends, make sure your frontend fetches the latest call data and accesses the structured data like this:
Copy code
js
const structuredData = call?.analysis?.structuredData;
console.log(structuredData); // Should show the extracted data if present
If
structuredData
is still blank, double-check that your frontend is updating its state with the latest API response after the call completes. [See Vapi Call Analysis Docs](https://docs.vapi.ai/assistants/call-analysis) Source: - [Vapi Call Analysis Documentation](https://docs.vapi.ai/assistants/call-analysis)
p
Hey Akash, Thanks for bringing this to our attention. The team is working on it and will fix it by the end of the day. In the meantime, use the API to update your assistant's analysis plan. The dashboard update override the plan, causing this issue.
l
It is a day later and this is still not working. Please advise
a
Hi @Shubham Bajaj , I know its a bug.. but its affecting my daily operations... after the call, we are not able to fetch data in a structured form... please try to understand... its a paid service which we are giving to our clients, and on one single day, we cant say that its not working... we are working with real people
@User please help... 2 days now...production issue
l
Any update? Haven’t got an email response either?
Any update? Haven’t got an email response either?
p
It should be fixed now, can you try again?
l
Any update? Haven’t got an email response either?
v
I understand how frustrating this ongoing issue is, especially since it’s impacting your daily operations and client commitments. The last update from the team indicated that the fix should be in place, but I haven’t found confirmation that the structured data is now visible on the frontend. If you’re still experiencing the problem, your feedback is important and helps ensure the issue gets the attention it needs. Thank you for your patience as this is being addressed.
Try this: After the call ends, ensure your frontend fetches the latest call data and accesses the structured data like this:
Copy code
js
const structuredData = call?.analysis?.structuredData;
console.log(structuredData); // Should show the extracted data if present
If
structuredData
is still blank, double-check that your frontend is updating its state with the latest API response after the call completes. [See Vapi Call Analysis Docs](https://docs.vapi.ai/assistants/call-analysis) Source: - [Vapi Call Analysis Documentation](https://docs.vapi.ai/assistants/call-analysis)
p
Hey Akash and Lendell, we've fixed the issue. To use your analysis plan again, publish it again from the dashboard. Then, try 2-3 test calls and let me know how it goes.