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

# Content Generation Is Taking Too Long

> Wait for ambient status or Mobile SDK session events instead of retrieving notes too early

Content generation starts after you end a session. A slow note is not always a failed session. On Partner APIs, calling content endpoints before status is `completed` returns empty or incomplete results. On Mobile SDK, wait for session events before you fetch content.

## Common causes (Mobile SDK)

From [Mobile SDK troubleshooting FAQs](/mobile-sdk/faqs/troubleshooting):

* Long session (more audio to process)
* Poor audio quality
* Network issues during upload
* High server load
* Large session context or metadata

## Partner API

After you end an ambient session, generation is async. Closing the WebSocket and a successful REST end do not mean the note is ready.

Poll [Get ambient session status](/api-reference/ambient-content/status) until status is `completed`, then call content APIs. Stop on `skipped`, `failed`, or `aborted`.

```mermaid actions={false} theme={"theme":{"light":"github-dark","dark":"material-theme-darker"}}
%%{init: {'theme':'base', 'themeVariables': { 'primaryColor':'#FFFBDE','primaryTextColor':'#1C1C1C','primaryBorderColor':'#FFD147','lineColor':'#6F5410','secondaryColor':'#FFFDF5','tertiaryColor':'#FFEB94','fontSize':'13px'}}}%%
flowchart LR
  A[End ambient session] --> B[GET /status]
  B --> C{Status?}
  C -->|completed| D[Call content APIs]
  C -->|processing| B
  C -->|skipped/failed/aborted| E[Stop and handle]
```

See [Wait for Ambient before fetch](/documentation/cookbooks/wait-for-status-before-retrieve).

## Mobile SDK

<Steps>
  <Step title="Watch Session Events">
    Use session delegate events for generation progress and failure. Show a progress state while processing continues.
  </Step>

  <Step title="Check Network and Capture">
    Confirm the device can upload. Record in a quieter place and keep the mic clear when quality is poor.
  </Step>

  <Step title="Retrieve After Ready">
    Wait for generation completion events before you fetch content. Processing still running is not the same as failure.
  </Step>
</Steps>

## Next steps

<Icon icon="file-lines" iconType="solid" /> **[Wait for Ambient before fetch](/documentation/cookbooks/wait-for-status-before-retrieve)** - Poll status until `completed`

<Icon icon="file-lines" iconType="solid" /> **[Empty or incomplete notes after ending an ambient session](/documentation/troubleshooting/empty-notes-after-end-session)** - Retrieve only after generation finishes

<Icon icon="file-lines" iconType="solid" /> **[Mobile SDK troubleshooting FAQs](/mobile-sdk/faqs/troubleshooting)** - Content generation delay causes

<Icon icon="file-lines" iconType="solid" /> **[Offline upload failures on Mobile SDK](/documentation/troubleshooting/offline-upload-failures-mobile)** - Upload before generation can finish

<Icon icon="file-lines" iconType="solid" /> **[Get ambient session status](/api-reference/ambient-content/status)** - Status values for polling
