Not getting Analysis after end of call: log: "Plea...
# support
e
Hi, I set up a call agent with Vapi and I was using it fine, getting structured data and the analysis in my webhook endpoint but starting from this morning it's not making the analysis and extracting the structured data saying " Please provide Transcript of the call". Could you please help me out on this part quick and give me a solution since my system is running on production. Thank You Call Id: 86ac5178-99eb-4048-a18e-12e609e6574d 6e15c84a-dc30-48bd-9be0-94839479789b
v
It appears that Vapi's analysis requires a call transcript, and the error "Please provide Transcript of the call" means the transcript is missing, so analysis cannot proceed. Actionable next step: Please check if your call recording and transcription settings are enabled in your assistant's configuration. If everything appears correct, contact Vapi support at [support@vapi.ai](support@vapi.ai) with your call IDs for urgent assistance, as this may be a backend or account-specific issue beyond configuration changes. Sources: - [Call analysis documentation](https://docs.vapi.ai/assistants/call-analysis) - [Support options](https://docs.vapi.ai/support)
t
I'm having the same issue! Call recording and transcription settings are enabled. But the call transcript it clearly not being passed through because even the name of the caller is not being picked up
a
Hey Elias, 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 overrides the plan, causing this issue. Let me know if you need further help.
l
And how do we use the API to update. Smh
Any update? Haven’t got an email response either?
a
It should be fixed now, can you try again?
l
Any update? Haven’t got an email response either?
v
To update your assistant's analysis plan via the API, use the following cURL command (replace
<assistant_id>
and
<token>
with your actual values):
Copy code
bash
curl -X PATCH https://api.vapi.ai/assistant/<assistant_id> \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "analysisPlan": {
      "summaryPrompt": "You are an expert note-taker. You will be given a transcript of a call. Summarize the call in 2-3 sentences, if applicable.",
      "structuredDataPrompt": "You are an expert data extractor. You will be given a transcript of a call. Extract structured data per the JSON Schema.",
      "structuredDataSchema": {
        "type": "object",
        "properties": {
          "field1": { "type": "string" },
          "field2": { "type": "number" }
        },
        "required": ["field1", "field2"]
      },
      "successEvaluationPrompt": "You are an expert call evaluator. You will be given a transcript of a call and the system prompt of the AI participant. Determine if the call was successful based on the objectives inferred from the system prompt.",
      "successEvaluationRubric": "NumericScale"
    }
  }'
This should restore analysis if it was disabled by a dashboard update. For more details, see the [API reference](https://docs.vapi.ai/api-reference/assistants/update?explorer=true). Sources: - [Update Assistant API Reference](https://docs.vapi.ai/api-reference/assistants/update?explorer=true) - [Call Analysis Documentation](https://docs.vapi.ai/assistants/call-analysis)
a
It is fixed.