@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    Enumeration AvayaInfinityAgentSdkErrorCodes

    Public catalog of error codes emitted by the Avaya Infinity Agent SDK.

    Compare an AvayaInfinityAgentSdkError.code value with an enum member instead of hard-coding the error-code string.

    Format ASE-XYYY where X is the family code prefix and YYY is the error code Where X is one of the following:

    • 0: Generic errors
    • 1: SDK level errors
    • 2: User level errors
    • 3: Queue level errors
    • 4: Interaction level errors
    if (
    AvayaInfinityAgentSdkError.is(error)
    && error.code === AvayaInfinityAgentSdkErrorCodes.ASE_1003
    ) {
    showBanner("Please allow popups and try again");
    }
    Index

    Enumeration Members

    ASE_0000: "ASE_0000"

    Generic Agent SDK error.

    ASE_0001: "ASE_0001"

    An SDK action timed out before it completed.

    ASE_0002: "ASE_0002"

    An SDK action was aborted before it completed.

    ASE_0003: "ASE_0003"

    One or more action rules were violated.

    ASE_0004: "ASE_0004"

    One or more arguments were invalid.

    ASE_1000: "ASE_1000"

    Unexpected error(s) occurred in SDK

    ASE_1001: "ASE_1001"

    Unexpected error(s) occurred in authentication logic

    ASE_1002: "ASE_1002"

    Failed to authenticate the user due to unexpected error(s) in OAuth process

    ASE_1003: "ASE_1003"

    Failed to authenticate the user as OAuth popup was blocked by the browser

    ASE_1004: "ASE_1004"

    Failed to authenticate the user as OAuth popup was closed before authentication completed

    ASE_1005: "ASE_1005"

    Failed to create session for the user

    ASE_1006: "ASE_1006"

    Failed to authenticate the user due to unavailability of auth service/token. Please re-initialize the SDK

    ASE_1007: "ASE_1007"

    Unexpected error(s) occurred in socket connection

    ASE_1008: "ASE_1008"

    Failed to establish socket connection

    ASE_1009: "ASE_1009"

    Socket connection to server failed

    ASE_1010: "ASE_1010"

    An SDK operation is invalid in the current SDK state.

    ASE_1011: "ASE_1011"

    Unexpected error occurred while registering with WebRTC server

    ASE_1012: "ASE_1012"

    Unexpected error occurred while unregistering from WebRTC server

    ASE_1013: "ASE_1013"

    Unexpected error occurred in voice related services

    ASE_1014: "ASE_1014"

    Manual socket retry is not allowed in the current SDK or connection state.

    ASE_1015: "ASE_1015"

    SDK not initialized. Call init() first.

    ASE_2000: "ASE_2000"

    Unexpected error occurred in User

    ASE_2001: "ASE_2001"

    The requested user status is invalid.

    ASE_2002: "ASE_2002"

    Invalid reason code. Use a valid reason from getAssignableReasonCodes()

    ASE_2003: "ASE_2003"

    Logout reason is required

    ASE_2004: "ASE_2004"

    Audio device not found. Use a device ID from getAvailableAudioDevices()

    ASE_2005: "ASE_2005"

    Failed to fetch user data

    ASE_2006: "ASE_2006"

    Failed to create interaction

    ASE_2007: "ASE_2007"

    Failed to login to CX

    ASE_2008: "ASE_2008"

    Failed to logout from CX

    ASE_2009: "ASE_2009"

    Failed to change user status

    ASE_2010: "ASE_2010"

    Failed to logout from platform

    ASE_2011: "ASE_2011"

    Failed to fetch interactions list

    ASE_2013: "ASE_2013"

    Failed to start monitoring: server responded unexpectedly

    ASE_2014: "ASE_2014"

    Failed to fetch interaction views

    ASE_2015: "ASE_2015"

    No logout reason codes configured. Contact your administrator.

    ASE_2016: "ASE_2016"

    Invalid reason for Elite Voice user: away/busy reasons require an Elite PBX aux code. Use a reason from getAssignableReasonCodes().

    ASE_2017: "ASE_2017"

    queueId is required to create an outbound interaction. Only Elite Voice agents (isEliteVoiceEnabled === true) may omit it.

    ASE_2018: "ASE_2018"

    Account ID is not available on the user profile. The server response is missing the tenant account — contact your administrator.

    ASE_2019: "ASE_2019"

    Initial status selection is not supported when logging an Elite Voice agent into CX. Call loginToCx() without a reason code, wait for CX login to complete, and then call changeStatus().

    ASE_3000: "ASE_3000"

    Unexpected error occurred in Queue

    ASE_3001: "ASE_3001"

    Invalid reason code. Use a valid reason from getAssignableReasonCodes()

    ASE_3002: "ASE_3002"

    Logout reason is required

    ASE_3003: "ASE_3003"

    Invalid reason type. Use LOGOUT type for queue logout

    ASE_3004: "ASE_3004"

    Failed to login to queue

    ASE_3005: "ASE_3005"

    Failed to logout from queue

    ASE_3006: "ASE_3006"

    No logout reason codes configured. Contact your administrator.

    ASE_3007: "ASE_3007"

    Personal queues do not support explicit login or logout — the platform manages them automatically.

    ASE_4000: "ASE_4000"

    Unexpected error occurred in Interaction

    ASE_4001: "ASE_4001"

    Audio device service is unavailable

    ASE_4002: "ASE_4002"

    Microphone permission denied. Grant microphone access and retry

    ASE_4003: "ASE_4003"

    Unsupported resolution status provided

    ASE_4004: "ASE_4004"

    Invalid blind transfer options: must provide queueId/queueName or userId

    ASE_4005: "ASE_4005"

    Invalid attended transfer options: must provide userId or queueId

    ASE_4006: "ASE_4006"

    No active voice call for this interaction

    ASE_4007: "ASE_4007"

    Interaction action failed: server responded unexpectedly

    ASE_4008: "ASE_4008"

    Transfer rejected: concurrent transfer in progress. Please wait and retry

    ASE_4009: "ASE_4009"

    Invalid input: the server rejected the request. Please check the provided values and try again