> ## 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.

# Technical

> Technical questions about Form filling SDK sessions, layout, and errors

<Accordion title="Is ambient_session_id the Same as an Ambient Clinical Note Session ID?">
  No. **`ambient_session_id`** is the <Tooltip tip="A time-bound visit session for capturing conversation and generating structured medical form output." cta="View in Glossary" href="/Glossary/f">Form filling Session</Tooltip> ID, not an [Ambient session](/Glossary/a) from the Ambient API.
</Accordion>

<Accordion title="Why Is the Form Filling UI Blank?">
  Common causes:

  * Container has zero height
  * CSP blocks **`https://sdk.suki.ai`** or **`https://sdk.suki-stage.com`** in **`frame-src`**
  * Invalid template IDs or partner credentials

  Refer to [Error handling](/form-filling-sdk/guides/error-handling) and [Configuration](/form-filling-sdk/guides/configuration#container-sizing).
</Accordion>

<Accordion title="Which Error Codes Does the Form Filling SDK Emit?">
  The SDK emits **`SUKI_FF_001`** through **`SUKI_FF_004`**, each with a **`reason`** string. There are no **`FF_SDK_*`** codes in the shipped package.

  Refer to [Error handling](/form-filling-sdk/guides/error-handling) for the full table and troubleshooting.
</Accordion>

<Accordion title="What Is Form-Filling:background-Submitted?">
  Fires when structured data arrives for a session that is no longer the foreground session (the result's **`ambient_session_id`** does not match the open session), for example after the clinician closed processing or timeout and started a later session. Late results for the *same* open session still use **`form-filling:submitted`** / **`onSubmit`**. Handle with **`client.on("form-filling:background-submitted", ...)`** or React **`onBackgroundSubmit`**. For production saves, use your webhook.
</Accordion>

<Accordion title="What CSP Origins Should I Allow?">
  | Environment | iframe origin                |
  | ----------- | ---------------------------- |
  | Production  | `https://sdk.suki.ai`        |
  | Staging     | `https://sdk.suki-stage.com` |

  Refer to [Prerequisites](/form-filling-sdk/prerequisites).
</Accordion>
