> ## Documentation Index
> Fetch the complete documentation index at: https://www.bolna.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Debugging runbook: find out why a call went wrong

> Step-by-step runbook for the Bolna Debugging page: triage any call by execution ID, read latency, transcript, extraction, execution and webhook logs, and fix the most common voice AI call problems.

Every call on Bolna leaves a complete record: the recording, the transcript, the latency of every turn, each tool and webhook call, the extraction results and the raw execution JSON. The [Debugging](https://platform.bolna.ai/debugging) page puts all of it on one screen, so you can go from "this call went wrong" to the cause without re-testing.

This runbook shows you how to read each part of the page, gives you a five-minute triage you can run on any call, and then walks through a playbook for each common symptom.

![Debugging page with an execution ID search box, Search, Download recording and Rate call buttons, a recording player, call type, status, webhook delivery, batch, initiated at, hangup by and hangup reason, and Summary, Timeline, Transcript, Extraction, Execution logs and Raw logs tabs](https://mintcdn.com/bolna-54a2d4fe/F7khyafXF7Yc6q0S/images/getting-started/call-history/debugging-view.png?fit=max\&auto=format\&n=F7khyafXF7Yc6q0S\&q=85\&s=f80e8184500471dd7a8a06e50b85b9a0)

The Debugging page for one call

## Open a call in Debugging

You need the call's **execution ID**, a UUID such as `9d72072b-b2df-4ecb-89c3-c1051562318c`. There are three ways in:

> [tab] From Call history
>
> In [Call history](https://platform.bolna.ai/agent-executions), find the call and click the **Debug** (bug) icon in its row. The Debugging page opens for that call in a new tab.

> [tab] By execution ID
>
> Open **Monitor → Debugging** in the left navigation menu, paste the execution ID into the search box and click **Search** (or press **Enter**). Click the **×** in the box to clear it and look up another call.

> [tab] By link
>
> Every call has its own address: `https://platform.bolna.ai/debugging/<execution_id>`. Share this link with a teammate or paste it into a support ticket so they land on the same call.

> [!TIP]
>
> Not sure which ID you have? The execution ID is the `execution_id` returned by [Make a call](https://www.bolna.ai/docs/api-reference/calls/make.md), the `id` field in every [webhook payload](https://www.bolna.ai/docs/post-call/execution-payload.md), and the `id` of each item returned by [List batch executions](https://www.bolna.ai/docs/api-reference/batches/executions.md).

If the page shows **Search to begin debugging**, no execution ID has been entered yet. If a part of the call can't be loaded, a message names the parts that failed (for example, "Couldn't load progression, execution logs and raw logs for this execution"). The rest of the page still works.

***

## Five-minute triage

Run these steps in order on any call. Most problems are found by step 3.

**1. Read the status and termination reason**

At the top of the page, check **Status**, then click **Details** and read **Hangup by**, **Hangup reason** and **Termination reason**. Together they tell you whether the call connected, who ended it and why. Look an unfamiliar value up in [Termination reasons](https://www.bolna.ai/docs/post-call/termination-reasons.md) and [Hangup codes](https://www.bolna.ai/docs/post-call/list-phone-call-hangup-status.md).

**2. Listen to the recording**

Press play in the recording player. Listen for silence, long pauses, crosstalk, a voicemail greeting, or the caller repeating themselves. Hearing the call first tells you which tab to open next.

**3. Read the transcript against the audio**

Open **Transcript**. Click a line to jump the recording to it. Compare what was said with what was transcribed, and what the agent replied. Look for **Interrupted** markers and failed **Function Call** rows.

**4. Check latency**

Open **Timeline**. Find the slowest turns in **Latency per Turn** and see which colour dominates the bar: transcriber, transcriber → LLM, LLM, or voice.

**5. Check tools, webhooks and data**

Open **Summary → Function tools** for failed tool calls, the **Webhook delivery** pill for failed webhooks, and **Extraction** for missing or low-confidence fields.

**6. Rate the call and record what you found**

Click **Rate call**, choose a score and tag the problem (for example, **High Latency** or **Tool failed**). Ratings build a record of call quality you can come back to.

> [!NOTE]
>
> Change one thing at a time. After you fix the agent, place a [test call](https://www.bolna.ai/docs/production/test-before-calling-customers.md) and open the new call in Debugging to confirm the fix before you call customers.

***

## Read the Debugging page

### Search bar and actions

| Control | What it does |
| - | - |
| **Execution ID** box | Enter an execution ID and click **Search** or press **Enter**. The page address changes to `/debugging/<execution_id>`. |
| **Download recording** | Downloads the call recording. A call that was never answered has no recording. |
| **Rate call** | Opens a rating card for this call. See [Rate the call](#rate-the-call). |

### Recording player

Play, pause and scrub the call audio, and change the playback speed from the speed menu (for example, **1x**). The player follows you as you scroll, and the **Transcript** tab can follow the audio as it plays.

### Call overview

The overview strip under the player summarises the call:

| Field | What it shows |
| - | - |
| **Type** | Inbound or outbound |
| **Status** | The call's current [status](https://www.bolna.ai/docs/post-call/list-phone-call-status.md). See below. |
| **Webhook delivery** | Whether Bolna delivered this call's events to your webhook. See below. |

**Status** shows the execution's `status` field, so it can be any [call status](https://www.bolna.ai/docs/post-call/list-phone-call-status.md), not just **Completed** or **Failed**. The pill is coloured by outcome:

| Colour | Statuses |
| - | - |
| Green | **Completed** |
| Red | **Failed**, **Error**, **Busy**, **No-answer**, **Canceled** |
| Grey | Calls still in flight or waiting: **Scheduled**, **Rescheduled**, **Queued**, **Initiated**, **Ringing**, **In-progress**, **Call-disconnected**. Also **Balance-low** and **Stopped**. |

> [!NOTE]
>
> **Call-disconnected** means the line has dropped but post-call processing hasn't finished. Duration, cost, recording and extraction fill in once the status reaches **Completed**.

Click **Details** to see more, and **Hide details** to collapse it again:

| Field | What it shows |
| - | - |
| **Batch** | The batch the call belongs to, or **—** for a single call |
| **Initiated at** | When the call was triggered |
| **Hangup by** | Who ended the call, for example **Caller** or the agent |
| **Hangup reason** | Why the line was hung up, with a link to how hangups work |
| **Termination reason** | Bolna's verdict on how the call ended, colour-coded by outcome |
| **Transfer termination reason** | Shown when the call was transferred: how the transfer ended |

When you scroll down into the tabs, the overview hides itself to give you more room. Click **Show overview** next to the tabs to bring it back, or **Hide overview** to put it away.

#### Webhook delivery

The **Webhook delivery** pill tells you at a glance whether your server received this call's events:

| Pill | Meaning |
| - | - |
| **Success** | Every event was delivered |
| **Failed** | At least one event was not delivered. Hover to see which. |
| **Not configured** | The agent has no webhook URL |
| **No events** | A webhook is configured, but no events were recorded for this call |
| **Unavailable** | Webhook delivery data couldn't be loaded for this call |

Hover over the pill to see **Webhook delivery per call event**: each event the call sent, in order, with its result. Click the pill to jump to **Execution logs → Webhooks** for the full detail.

***

### Summary tab

The **Summary** tab shows how the call was set up, which tools it used and what it cost.

![Summary tab with Agent, Telephony, Function tools and Cost breakdown cards](https://mintcdn.com/bolna-54a2d4fe/aW-o9vORQQYp0V9z/images/troubleshooting/debugging/summary-tab.png?fit=max\&auto=format\&n=aW-o9vORQQYp0V9z\&q=85\&s=0879b232c951cc9c3fbd16b77c55001c)

Summary tab

**Agent**

| Field | What it shows |
| - | - |
| **Agent ID** | The agent that handled the call. Click the copy icon to copy it. |
| **Language** | The agent's language or languages |
| **Telephony provider** | For example Plivo, Twilio, Exotel or Vobiz. **Own key** appears when the call used your own telephony account. |
| **LLM provider** | Provider and model, for example **Openai (gpt-4.1-mini)**. **Own key** appears when the call used your own LLM key. |
| **Transcriber provider** | Provider and model, for example **Deepgram (nova-3)**. **Own key** appears when the call used your own transcriber key. |
| **Voice provider** | Provider and model, for example **Sarvam (bulbul:v3)**. **Own key** appears when the call used your own voice key. |
| **Knowledge bases used** | The knowledge bases the agent could search on this call. Expand to see each one's source. |

> [!TIP]
>
> **Own key** is checked separately for telephony, LLM, transcriber and voice, so one call can mix Bolna's accounts and yours. A row without **Own key** used Bolna's account for that provider. Connect your own accounts in [Integrations](https://platform.bolna.ai/providers); see [Providers](https://www.bolna.ai/docs/providers.md).

**Telephony**

| Field | What it shows |
| - | - |
| **Agent number** | The number the agent called from or was called on |
| **User number** | The caller's or callee's number |
| **Inbound number** | The number linked to the agent for inbound calls |
| **Ambient noise** | The background noise setting the call used |
| **Voicemail detection** | **Disabled**, or, when it's on, **Detected** or **Not detected** for this call |
| **Outbound call timing restrictions** | The [calling hours](https://www.bolna.ai/docs/outbound/calling-guardrails.md) the agent enforces |
| **Inbound calling** | **Enabled** when an inbound number is linked to the agent |
| **Inbound database matching** | Whether caller data was looked up for [inbound calls](https://www.bolna.ai/docs/inbound/receiving-calls) |
| **Spam prevention: max calls/number** | The per-number call limit, when one is set |

**Function tools**

Every tool call the agent made, with the tool name, the URL it called, how long it took and whether it failed. A failed call shows its error message. If the agent [transferred the call](https://www.bolna.ai/docs/tool-calling/transfer-calls.md), the transfer and how it ended are shown here too.

**Cost breakdown**

What this call spent on providers, split into **LLM**, **Voice**, **Speech recognition**, **Network** and **Platform**. Expand **LLM** to see what each LLM step cost, for example the conversation itself and post-call extraction. Use it to find the component that drives your cost per call; see [Control cost per call](https://www.bolna.ai/docs/production/control-cost-per-call.md).

***

### Timeline tab

The **Timeline** tab shows how long the agent took to answer each turn, and where that time went.

![Timeline tab with the Latency per Turn chart and average and P90 latency tiles by component](https://mintcdn.com/bolna-54a2d4fe/aW-o9vORQQYp0V9z/images/troubleshooting/debugging/timeline-tab.png?fit=max\&auto=format\&n=aW-o9vORQQYp0V9z\&q=85\&s=f4a09c1455adf5834ade40565499e9a4)

Timeline tab

**Latency per Turn** is a stacked bar for each turn. Each colour is one stage of the response:

| Stage | What it measures | If it's the biggest part |
| - | - | - |
| **Transcriber finalize** | From the caller finishing speaking to the transcriber returning the final text | Lower [endpointing](https://www.bolna.ai/docs/troubleshooting/agent-interrupts-users.md), or try a faster transcriber model |
| **Transcriber→LLM** | From the final transcript to the LLM request starting | Usually small. If it's large on every turn, contact support with the execution ID. |
| **LLM** | From the LLM request to its response | Use a faster model, shorten the prompt, or move long reference text into a [knowledge base](https://www.bolna.ai/docs/knowledge-base) |
| **TTFA→agent** | From the reply being ready to the first audio of the agent's voice | Try a faster voice model, or lower the synthesizer buffer size |

Below the chart, two rows of tiles summarise the whole call:

* **Average latency by component**: the average time for **Transcriber**, **Transcriber→LLM**, **LLM** and **Voice** across all turns.
* **P90 latency by component**: the time 90% of turns stayed under, for each component. **Overall P90 latency** adds the stages together and names the turn it came from, so you can find that turn in the chart and the transcript.

> [!NOTE]
>
> P90 is only meaningful with enough turns. With fewer than 10 measured turns, the P90 is the same as the slowest turn, and the tile says so when you hover over it.

***

### Transcript tab

The **Transcript** tab shows the conversation as **User** and **Assistant** lines, linked to the recording.

![Transcript tab with alternating User and Assistant lines and a User line marked Not sent to agent](https://mintcdn.com/bolna-54a2d4fe/aW-o9vORQQYp0V9z/images/troubleshooting/debugging/transcript-tab.png?fit=max\&auto=format\&n=aW-o9vORQQYp0V9z\&q=85\&s=94d3c7a66faa4ea67fc3a8817b85d0cc)

Transcript tab

* **Click a line** to jump the recording to the moment it was spoken. As the audio plays, the current line is highlighted and the transcript scrolls with it. If you scroll away, click **Follow playback** to catch up with the audio again.
* **Interrupted** marks an agent reply the caller talked over. The words the agent generated but never spoke are shown faded after the point it was cut off, so you can see what the caller missed.
* **Not sent to agent** marks caller speech that was transcribed but kept out of the agent's context, so it didn't influence the reply.
* **Function Call** rows show each tool the agent called mid-conversation, with its status, response code and latency.
* **Variables** lists the data the call was started with (for example, from your batch CSV or the `user_data` you passed), with **Not provided** for any variable that had no value.

***

### Extraction tab

The **Extraction** tab shows what Bolna pulled out of the conversation after the call, field by field, and why.

![Extraction tab with extraction fields grouped by category, each showing its value, confidence and an expanded row with reasoning and prompt](https://mintcdn.com/bolna-54a2d4fe/aW-o9vORQQYp0V9z/images/troubleshooting/debugging/extraction-tab.png?fit=max\&auto=format\&n=aW-o9vORQQYp0V9z\&q=85\&s=59f2eb1d84c3a384c813dbdf1f536e57)

Extraction tab

Fields are grouped by category. Each group shows how many fields it has and the model that ran the extraction. Each field shows:

| Element | What it tells you |
| - | - |
| **Value** | The extracted value: a yes/no, a text value, or `null` when nothing was extracted |
| **Confidence** | How sure the model was, as a percentage. Low confidence is highlighted. |
| **Validation message** | Shown when the value doesn't match the field's expected pattern or format |
| **Internal** | Marks a field Bolna uses internally |

Expand a field to see the model's **reasoning**, the allowed options with the condition for each (the one it chose is highlighted), and the **prompt** the field was extracted with. Compare the reasoning with the transcript: if the reasoning is right but the value is wrong, the field's prompt or options need rewording. See [Extractions](https://www.bolna.ai/docs/prompting/using-extractions).

***

### Execution logs tab

The **Execution logs** tab is the call's step-by-step log, with two views.

![Execution Logs table with timestamp, log data, direction, component, provider and latency columns](https://mintcdn.com/bolna-54a2d4fe/aW-o9vORQQYp0V9z/images/troubleshooting/debugging/execution-logs.png?fit=max\&auto=format\&n=aW-o9vORQQYp0V9z\&q=85\&s=7acb7a9e01c6656c75edbf170c97184a)

Execution logs tab

**Execution Logs** lists every request and response between Bolna and the transcriber, LLM, voice and your tools:

| Column | What it shows |
| - | - |
| **Timestamp (IST)** | When the step happened, in Indian Standard Time |
| **Log data** | The text sent or received, for example the transcript sent to the LLM or the reply sent to the voice |
| **Direction** | `request` (Bolna to the provider) or `response` (the provider back to Bolna) |
| **Component** | `transcriber`, `llm`, `synthesizer` or `function_call`. Tool calls show the tool name underneath. |
| **Provider** | The provider that handled the step |
| **Latency** | How long the step took, in milliseconds |

Click **Timestamp (IST)** or **Component** to sort by that column. Sort by **Component** to see all the LLM steps together, for example.

**Webhooks** lists every event Bolna sent to your webhook for this call:

| Column | What it shows |
| - | - |
| **Timestamp (IST)** | When the event was sent |
| **Webhook event** | The event, for example a status change |
| **Delivery Status** | Whether it was delivered |
| **HTTP Status Code** | The status code your server returned |
| **Error message** | Why delivery failed, when it did |
| **URL** | The webhook URL the event was sent to |

Click **Download logs** to save both views as one JSON file. Webhook data is kept for 14 days; for older calls, the **Webhooks** view says so.

***

### Raw logs tab

The **Raw logs** tab shows the complete execution record as JSON: everything Bolna stored for the call. See the [execution payload reference](https://www.bolna.ai/docs/post-call/execution-payload.md) for what each field means.

![Raw logs tab with a Search logs box, match case and whole word toggles, Copy JSON and Download JSON buttons and the execution JSON](https://mintcdn.com/bolna-54a2d4fe/aW-o9vORQQYp0V9z/images/troubleshooting/debugging/raw-logs.png?fit=max\&auto=format\&n=aW-o9vORQQYp0V9z\&q=85\&s=85235033032195342e7c42dba14567b5)

Raw logs tab

| Control | What it does |
| - | - |
| **Search logs** | Highlights every match in the JSON and shows the match count |
| **Match case** / **Match whole word** | Narrow the search |
| **Previous match** / **Next match** | Step through matches. Press **Enter** for next, **Shift + Enter** for previous and **Esc** to clear. |
| **Copy JSON** | Copies the whole record to your clipboard |
| **Download JSON** | Saves the record as `execution-<execution_id>-raw.json` |

Useful things to search for:

| Search for | To find |
| - | - |
| `error_message` | The error that ended a failed call |
| `termination_reason` | How the call ended |
| `hangup_reason` | The telephony provider's reason for the hangup |
| `extracted_data` | The extraction results as your webhook receives them |
| `cost_breakdown` | The cost of each component |
| `context_details` | The variables the call was started with |

***

### Rate the call

Click **Rate call** to score the call from 1 to 4: **Poor**, **Fair**, **Good** or **Excellent**. The card then asks a follow-up question, for example **What went wrong?** for a poor call or **What made it great?** for an excellent one, with tags to pick from:

| Score | Example tags |
| - | - |
| 1 · Poor | Unexpected hangup, High Latency, Bad transcription, Tool failed, Agent hallucinated |
| 2 · Fair | Missed user intent, Went off-script, Distorted voice, Inaccurate details, Response repetition |
| 3 · Good | Accurate transcription, Clear voice, Understood user correctly, Response time |
| 4 · Excellent | Perfect transcription, Felt natural, Zero Latency, Correct hangup |

Add a comment and save. You can open **Rate call** again to change your rating. Ratings also show in the **Rating** column in [Call history](https://www.bolna.ai/docs/agent-setup/call-history).

***

## Playbooks by symptom

Each playbook says where to look, what you'll see, and what to change.

> [accordion] The call never connected
>
> **Look at:** **Status**, **Termination reason** and **Hangup reason** in the overview; `error_message` in **Raw logs**.
>
> | You see | Likely cause | Fix |
> | - | - | - |
> | Status `no-answer` or `busy` | The callee didn't pick up | Not a fault. Turn on [auto-retry](https://www.bolna.ai/docs/outbound/auto-retry.md) for batches. |
> | Status `balance-low` | Not enough wallet balance | Top up, and watch the balance before large batches. |
> | Status `rescheduled` | Triggered outside the agent's calling hours | Expected when [calling guardrails](https://www.bolna.ai/docs/outbound/calling-guardrails.md) are on. Check **Outbound call timing restrictions** in **Summary**. |
> | Status `failed` or `error` | The call couldn't be placed | Read `error_message` in **Raw logs**, then check the number format (E.164 with country code) and the telephony provider connection. |
>
> Full list: [Calls fail to connect or drop early](https://www.bolna.ai/docs/troubleshooting/calls-fail-or-drop-early.md).

> [accordion] The call ended too early
>
> **Look at:** **Hangup by**, **Termination reason**, the end of the **Transcript**, and **Voicemail detection** in **Summary**.
>
> 1. If **Hangup by** is the caller, listen to the last 30 seconds of the recording. A caller who hangs up after a long silence usually means the agent was slow; check **Timeline** for the last turns.
> 2. If the agent hung up, read the termination reason. A silence timeout means nobody spoke for the configured time; a voicemail termination means voicemail detection fired. If the call was answered by a person, check **Voicemail detection** in **Summary** and listen to the greeting.
> 3. If the call hit its maximum duration, raise the call time limit in the agent's call settings.
>
> See [Termination reasons](https://www.bolna.ai/docs/post-call/termination-reasons.md) for what to do about each value.

> [accordion] The agent was slow to respond
>
> **Look at:** **Timeline**, then the matching rows in **Execution logs**.
>
> 1. Read **Overall P90 latency** and note the turn it names.
> 2. Find that turn in **Latency per Turn** and see which colour dominates.
> 3. Fix the dominant stage (see the [Timeline tab](#timeline-tab) table). For a slow **LLM** stage, sort **Execution logs** by **Component** and read the `llm` rows: a very long **Log data** request means a long prompt or conversation history.
> 4. If only a turn with a **Function Call** is slow, the tool is slow. Check its latency in **Summary → Function tools** and speed up the endpoint, or tell the agent to say something while it waits.

> [accordion] The agent misheard the caller
>
> **Look at:** **Transcript** with the recording.
>
> 1. Click the wrong line and listen. If the audio is clear but the text is wrong, it's a transcription problem. If the audio itself is choppy or quiet, see [Choppy or one-way audio](https://www.bolna.ai/docs/troubleshooting/choppy-or-one-way-audio.md).
> 2. Check **Language** and **Transcriber provider** in **Summary**. A transcriber set to the wrong language mishears everything.
> 3. Add names, product terms and numbers the transcriber gets wrong as keywords, or switch to a model that handles your language better.
>
> See [The agent mishears words](https://www.bolna.ai/docs/troubleshooting/agent-mishears-words.md).

> [accordion] The agent interrupted the caller, or the caller kept interrupting
>
> **Look at:** **Interrupted** markers in **Transcript**, and **Transcriber finalize** in **Timeline**.
>
> * Many **Interrupted** markers on short agent lines usually mean background noise or back-channel words ("hmm", "okay") are cutting the agent off. Tune the interruption threshold, or adjust the **Ambient noise** setting.
> * The agent replying before the caller finished means endpointing is too short.
>
> See [The agent interrupts people](https://www.bolna.ai/docs/troubleshooting/agent-interrupts-users.md).

> [accordion] The agent said something wrong or went off-script
>
> **Look at:** **Transcript**, the `llm` rows in **Execution logs**, and `context_details` in **Raw logs**.
>
> 1. Find the wrong reply in **Transcript** and the `llm` **request** row just before it in **Execution logs**. That row is what the LLM saw.
> 2. Check **Variables** in **Transcript**. **Not provided** next to a variable means the call had no value for it, a common cause of made-up details when the prompt relies on it.
> 3. If the agent answered a factual question wrongly, check **Knowledge bases used** in **Summary**. If none is listed, the agent had nothing to look the answer up in.
> 4. Tighten the prompt for that situation, then test again with the same inputs.
>
> For [graph agents](https://www.bolna.ai/docs/graph-agent/introduction), see [Debug a graph agent](https://www.bolna.ai/docs/graph-agent/debugging.md) to check which node the agent was on and why it moved.

> [accordion] A tool call failed
>
> **Look at:** **Summary → Function tools**, the **Function Call** rows in **Transcript**, and the `function_call` rows in **Execution logs**.
>
> | You see | Likely cause | Fix |
> | - | - | - |
> | Response code `401` or `403` | The tool's API key or headers are wrong | Update the tool's authentication |
> | Response code `404` | Wrong URL or path parameter | Check the URL shown in **Function tools** |
> | Response code `5xx` | Your endpoint errored | Check your server logs at the **Timestamp (IST)** of the request |
> | High latency, then a timeout | Your endpoint is too slow | Speed it up, or return a quick acknowledgement |
> | The tool was never called | The agent didn't decide to call it | Make the tool description say exactly when to use it |
>
> See [Function calling](https://www.bolna.ai/docs/tool-calling/custom-function-calls).

> [accordion] The call transfer failed
>
> **Look at:** the call transfer section of **Summary → Function tools**, and **Transfer termination reason** in the overview details.
>
> Check that the transfer number is in E.164 format and can receive calls, and that your telephony provider supports transfers. See [Call transfer failed](https://www.bolna.ai/docs/troubleshooting/call-transfer-failed.md).

> [accordion] My webhook didn't receive the call
>
> **Look at:** the **Webhook delivery** pill, then **Execution logs → Webhooks**.
>
> | Pill / log shows | Fix |
> | - | - |
> | **Not configured** | Add a webhook URL to the agent |
> | **Failed**, HTTP status code `4xx` | Your server rejected the event. Check authentication and request parsing. |
> | **Failed**, HTTP status code `5xx` | Your server errored while handling the event |
> | **Failed**, no status code with an error message | Bolna couldn't reach your server. Check the URL, TLS certificate and firewall, and allow Bolna's webhook IPs: `13.203.39.153`, `13.126.9.249` and `13.202.133.53`. |
> | **Success**, but your app has no data | Your server accepted the event but didn't process it. Check your own logs at the event's timestamp. |
>
> Wait for the `completed` event before reading duration, cost, recording or extraction: they're still empty in earlier events. See [Webhook not received](https://www.bolna.ai/docs/troubleshooting/webhook-not-received.md).

> [accordion] Extracted data is missing or wrong
>
> **Look at:** **Extraction**, then **Transcript**.
>
> 1. A `null` value with reasoning that says the information wasn't mentioned means the caller never said it. Make the agent ask for it.
> 2. A wrong value with low confidence means the conversation was ambiguous. Make the field's prompt more specific.
> 3. A validation message means the value doesn't match the format you set. Adjust the format or the prompt.
> 4. If an option was picked wrongly, read each option's condition: overlapping conditions make the choice unpredictable.

> [accordion] The call cost more than expected
>
> **Look at:** **Summary → Cost breakdown**.
>
> Find the largest segment. Expand **LLM** to see whether the conversation or post-call steps drive it. A long call with a large model, a long prompt sent on every turn, or a premium voice are the usual causes. See [Control cost per call](https://www.bolna.ai/docs/production/control-cost-per-call.md). Also check which **Summary → Agent** rows show **Own key**: providers without it ran on Bolna's account and are billed by Bolna. To pay those providers directly instead, see [How can I reduce my voice AI costs?](https://www.bolna.ai/docs/pricing/call-pricing.md#how-can-i-reduce-my-voice-ai-costs)

***

## Worked examples

These examples are illustrative: they show how the clues on the page fit together, not real customer calls.

> [accordion] Example 1: callers hang up after the agent goes quiet
>
> **Report:** "Customers say the agent goes silent and then they hang up."
>
> 1. The overview shows **Status** Completed, **Hangup by** Caller.
> 2. The recording has a pause of several seconds after the caller asks for their order status.
> 3. **Transcript** shows a **Function Call** row for the order lookup tool right before the pause.
> 4. **Timeline** shows that turn is the one named under **Overall P90 latency**, and **Summary → Function tools** shows the order lookup tool with a high latency.
>
> **Cause:** the order lookup endpoint is slow, so the agent is silent while it waits.
>
> **Fix:** speed up the endpoint, and add a line to the prompt telling the agent to say "Let me check that for you" before it looks up an order. Test again and confirm the turn's latency dropped.

> [accordion] Example 2: the CRM never got the call result
>
> **Report:** "This call isn't in our CRM."
>
> 1. The **Webhook delivery** pill shows **Failed**. Hovering shows the earlier events delivered, but the `completed` event failed.
> 2. **Execution logs → Webhooks** shows HTTP status code `413` for the `completed` event.
>
> **Cause:** the `completed` event carries the full transcript and extraction results, and it was larger than the server's request size limit.
>
> **Fix:** raise the request body limit on the webhook endpoint. Use **Raw logs → Copy JSON** to replay the payload against your server and confirm it's accepted.

> [accordion] Example 3: interested leads marked as not interested
>
> **Report:** "A lead who asked for a callback was marked not interested."
>
> 1. **Extraction** shows the interest field as **No** with low confidence.
> 2. The reasoning says the caller said "not right now".
> 3. The options show the "Not interested" condition as "the user declines" and the "Callback" condition as "the user asks to be called back later".
>
> **Cause:** "not right now, call me next week" matches both conditions.
>
> **Fix:** reword the "Not interested" condition to "the user declines and does not ask to be contacted again".

***

## Debug from code

The [Get Debug Bundle](https://www.bolna.ai/docs/api-reference/executions/get_execution_debug.md) endpoint returns what the Debugging page shows, in one response: the execution, the per-turn latency and transcript, and the pipeline logs. Use it to debug calls from a script, an alert, or an AI coding assistant.

```bash theme={"system"}
curl https://api.bolna.ai/executions/9d72072b-b2df-4ecb-89c3-c1051562318c/debug \
  -H "Authorization: Bearer <api_key>"
```

Pass `include` to fetch only the parts you need, for example `?include=execution,logs`. A part that isn't available for the call comes back `null`, and `unavailable` names it with the reason.

For the full execution record, use [Get raw logs](https://www.bolna.ai/docs/api-reference/executions/get_execution_raw_logs.md). With [Bolna MCP](https://www.bolna.ai/docs/mcp-tool-list.md), ask your assistant to debug a call by execution ID and it calls `get_execution_debug` for you.

***

## When to contact support

Contact [support](https://www.bolna.ai/docs/getting-help.md) when the cause is on Bolna's or a provider's side, for example a stage in **Timeline** that's slow on every call regardless of your settings, or a call that failed without an error you can act on. Include:

* The execution ID, or the `https://platform.bolna.ai/debugging/<execution_id>` link
* What you expected and what happened, with the time in the recording
* What you already checked in this runbook
* The **Raw logs** JSON (**Download JSON**) and, for webhook problems, the **Execution logs** download

## Related

> [card] [Call history](https://www.bolna.ai/docs/agent-setup/call-history)
>
> Find calls to debug and see results across all calls.

> [card] [Termination reasons](https://www.bolna.ai/docs/post-call/termination-reasons.md)
>
> What each way a call can end means and what to do about it.

> [card] [Execution payload](https://www.bolna.ai/docs/post-call/execution-payload.md)
>
> Every field in the execution record.

> [card] [Debug a graph agent](https://www.bolna.ai/docs/graph-agent/debugging.md)
>
> Trace node routing on graph agents.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.