RuntimeChatException
Types
Exception reported when the SDK was unable to upload supplied attachment.
SDK has received information from server that authorization of user has failed. SDK instance should be considered in invalid state. New instance should be created before connection attempt is made again. Integrators should also check if their authorization setup is correct.
SDK failed to obtain connection token. Integrators should log in again to request a new connection token.
The explicit OAuth flow (ChatBuilder.setAuthorization(...)) is not available on the backend.
The backend rejected the JWT used for the implicit OAuth flow.
Exception reported when the SDK encounters a communication error (e.g., server reports failure in response to an action, or a WebSocket send fails).
Thrown by com.nice.cxonechat.TokenDelegateListener.onNewTokenRequested when the integrator is unable to provide a token (e.g. user cancelled login, network error during OAuth exchange).