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.
- TypeScript
- Python
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.