product icon

How to Use Hosted Error Handling

    Articles related to customization are written for a technical audience who have experience in web development. Knowledge of HTML, CSS, and JavaScript are required.

    Hosted error handling enables you customize the error messages that your customers receive on the PIN entry page.

    Important: Without enabling hosted error handling, the PIN entry page directs customers to www.LogMeIn123.com if an error occurs during PIN code entry.
    The HostedErrorHandler function is called when an error occurs upon session initiation:
    ICLoader.HostedErrorHandler = function(ErrorName){}

    Customize the handling of session-start errors according to the following table:

    Error Name / Language Node Error Description
    NOTECHAVAILABLE Currently no technicians are available. Please check back later.
    NOTECHWORKING Sorry, we're closed. No technicians are available at this time. Please check back later during our hours of operation.
    INVALID_PARAMETERS Invalid parameters supplied. Please contact your support provider.
    SESSIONALREADYSTARTED A session using this PIN Code has already been started. Please ask your support provider for a new PIN Code.
    UCONNECTIONERROR Unknown connection error occurred.
    ERRNOSUCHSSESSION The support session cannot be started.
    ERRNOSUCHENTRY The online support session cannot be started. Please contact your support provider directly.
    ERRCODEDOESNOTEXIST PIN Code does not exist. Please contact your support provider.
    ERRCODEEXPIRED PIN Code has expired. Please contact your support provider.
    ERRNOTEXPIRED Technician or company does not exist. Please contact your support provider.
    ERRMISSINGTECHLICENSE The support session cannot be started. The technician is not configured to support this type of device.
    ERRSESSIONHASENDED The support session has ended.
    Article last updated: 27 September, 2022