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

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)

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.
Last modified on August 13, 2026