Skip to main content
All client SDKs surface errors through the AvatarController.onError callback. Error types are platform-specific but cover the same categories.

Web - ErrorCode

CodeDescriptionRecovery
APP_ID_UNRECOGNIZEDThe app ID is not recognized.Verify your app ID in the dashboard.
AVATAR_ID_UNRECOGNIZEDThe avatar ID is not recognized.Check the avatar ID exists and is published.
SESSION_TOKEN_EXPIREDThe session token has expired.Request a new token from your server.
SESSION_TOKEN_INVALIDThe session token is invalid.Verify token generation on your server.
WASM_LOAD_FAILEDFailed to load the WASM module.Check your build tool configuration (Vite plugin / Next.js wrapper).
WEBGL_NOT_SUPPORTEDWebGL is not supported by the browser.Use a browser with WebGL 2.0 support.

iOS - AvatarError

ErrorDescriptionRecovery
appIDUnrecognizedThe app ID is not recognized.Verify your app ID in the dashboard.
avatarIDUnrecognizedThe avatar ID is not recognized.Check the avatar ID exists and is published.
avatarAssetMissingThe avatar asset is missing.Re-download the avatar with AvatarManager.load().
failedToDownloadAvatarAssetsFailed to download avatar assets.Check network connectivity and retry.
failedToFetchAvatarMetadataFailed to fetch avatar metadata.Check network connectivity and retry.
sessionTokenExpiredThe session token has expired.Request a new token from your server.
sessionTokenInvalidThe session token is invalid.Verify token generation on your server.

Android - AvatarError

ErrorDescriptionRecovery
AppIdUnrecognizedThe app ID is not recognized.Verify your app ID in the dashboard.
AvatarIdUnrecognizedThe avatar ID is not recognized.Check the avatar ID exists and is published.
AvatarAssetMissingThe avatar asset is missing.Re-download the avatar with AvatarManager.load().
FailedToDownloadAvatarAssetsFailed to download avatar assets.Check network connectivity and retry.
FailedToFetchAvatarMetadataFailed to fetch avatar metadata.Check network connectivity and retry.
SessionTokenExpiredThe session token has expired.Request a new token from your server.
SessionTokenInvalidThe session token is invalid.Verify token generation on your server.
For full API details, see platform references:
  1. Log the SDK error code and current lifecycle phase.
  2. Retry transient network/download failures with backoff.
  3. Refresh session token for auth-related errors.
  4. Surface configuration errors to developers/operators.