Skip to main content
Problem: Create returns HTTP 409 (session_in_progress) because another modality already has an active session for the same emr_encounter_id. Solution: Read ambient_session_id from the conflict response, End session, wait 1 second, then retry create.
This cookbook assumes you already have your Partner ID, authentication tokens, and the other prerequisites for Ambient APIs.

Common mistakes

  • Confirm the blocking id before you end. Wait 1 second before retry.
  • If the body omits ambient_session_id, end from the owning modality, then retry.

Other cookbooks

AmbientAPI

Share One Note Across Products

Share one note with emr_encounter_id.

5 min
AmbientAPI

Poll Session Status Before Fetching Content

Poll until status is completed.

5 min
Last modified on July 23, 2026