Mobile Locker JavaScript SDK
    Preparing search index...

    Variable CRMErrorCodeConst

    CRMErrorCode: {
        AuthExpired: "crm_auth_expired";
        NotConnected: "not_connected";
        NotSupported: "crm_not_supported";
        RequestTimeout: "request_timeout";
        ServerError: "server_error";
        SOQLInvalid: "soql_invalid";
    } = ...

    Error codes for CRM-specific failures. Extends GeneralErrorCode.

    Type Declaration

    • ReadonlyAuthExpired: "crm_auth_expired"

      The CRM session has expired — the user must re-authenticate in the app.

    • ReadonlyNotConnected: "not_connected"

      The device has no internet connection.

    • ReadonlyNotSupported: "crm_not_supported"

      The team's CRM is not a supported provider (Salesforce, Veeva, or IQVIA).

    • ReadonlyRequestTimeout: "request_timeout"

      The request exceeded the configured timeout.

    • ReadonlyServerError: "server_error"

      The Mobile Locker server or an upstream API returned an unexpected error.

    • ReadonlySOQLInvalid: "soql_invalid"

      The SOQL query contains a syntax error.