InvalidRefreshTokenException

The backend rejected the OAuth refresh token while the SDK attempted to exchange it for a new access token.

Unlike InvalidAccessTokenException, which reports a rejected JWT in the implicit flow, this exception reports a rejected refresh_token in the explicit flow. Both are terminal: the SDK has no credential left in storage that can recover the session automatically. Integrators should have the user complete a full (re-)authentication and reconnect using com.nice.cxonechat.ChatBuilder.setAuthorization with a fresh authorization code.

This exception is reported via com.nice.cxonechat.ChatStateListener.onChatRuntimeException.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?