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.
Use this guide to understand what each error code means and how to resolve it in your application.
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 callsetSessionContext to update patient information or visit metadata during an active session.