Skip to main content
Quick summary
The Suki Headless SDK exposes error codes for authentication, session lifecycle, and other operations. All errors include an error code, name, and optional reason to help you diagnose issues and implement the correct handling logic.

Use this guide to understand what each error code means and how to resolve it in your application.
This guide details the error codes exposed by the Suki Headless SDK. Use this guide to diagnose issues and implement the correct handling logic in your application. Use the following type of errors to find the error code you need to handle while using the Suki Headless Web SDK.

Authentication Errors

Session Lifecycle Errors

Interoperability Errors

Pausing Session

Resuming Session

Cancelling Session

Submitting Session

Context Update Errors

Authentication errors (AuthError)

These errors occur during user registration, sign-in, or token updates.

Session lifecycle errors

These errors occur when you attempt to start, pause, resume, cancel, or submit an ambient session.

Starting a session (StartSessionFailed)

Pausing a session (PauseSessionFailed)

Resuming a session (ResumeSessionFailed)

Canceling a session (CancelSessionFailed)

Submitting a session (SubmitSessionFailed)

Interoperability errors

These errors occur when you create an interoperable ambient session, clear a remote blocking session, or list notes for an EMR encounter.

Session already exists (sessionAlreadyExists)

session.create() fails with this reason when another Suki product already has an active ambient session for the same provider and EMR encounter. The HTTP status is 409.
Some JSDoc comments refer to metadata.blockingSessionId. The runtime field is additionalProperties. Refer to Handle ambient session conflicts.

Cancel or end remote session failed

These errors occur when cancelRemote or endRemote fails while you clear a blocking remote session.

Get encounter info failed (getEncounterInfoFailed)

This error occurs when useGetEncounterInfo or PlatformClient.getEncounterInfo cannot list notes for an EMR encounter.

Context update errors (ContextUpdateFailed)

These errors occur when you call setSessionContext to update patient information or visit metadata during an active session.

Next steps

Refer to the Offline mode guide to learn more about how to handle offline mode in the Suki Headless Web SDK. Refer to Handle ambient session conflicts for remote conflict recovery and remote session end handling.
Last modified on September 2, 2026