# ErrorCode

**`Description`**

The enum for the sdk error codes.

## Enumeration Members

### InvalidInitOptions

• **InvalidInitOptions** = `"invalid_initialization_options"`

**`Description`**

The init options object is invalid.

### NotInitialized

• **NotInitialized** = `"not_initialized"`

**`Description`**

The sdk is not initialized.

### NoActiveJourney

• **NoActiveJourney** = `"no_active_journey"`

**`Description`**

There is no active Journey.

### NetworkError

• **NetworkError** = `"network_error"`

**`Description`**

Unable to receive response from the server.

### ClientResponseNotValid

• **ClientResponseNotValid** = `"client_response_not_valid"`

**`Description`**

The client response to the Journey is not valid.

### ServerError

• **ServerError** = `"server_error"`

**`Description`**

The server returned an unexpected error.

### InvalidState

• **InvalidState** = `"invalid_state"`

**`Description`**

The provided state is not valid for SDK state recovery.

### InvalidCredentials

• **InvalidCredentials** = `"invalid_credentials"`

**`Description`**

The provided credentials are invalid.

### ExpiredOTPPasscode

• **ExpiredOTPPasscode** = `"expired_otp_passcode"`

**`Description`**

The provided OTP passcode is expired.

### ExpiredValidationPasscode

• **ExpiredValidationPasscode** = `"expired_validation_passcode"`

**`Description`**

The provided validation passcode is expired.

### MaxResendReached

• **MaxResendReached** = `"expired_otp_passcode"`

**`Description`**

Max resend attempts reached