# Google Cloud Dms V1 Client - Class ErrorCode (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class ErrorCode.

A general error code describing the type of error that occurred.

Protobuf type `google.cloud.clouddms.v1.MigrationJobVerificationError.ErrorCode`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1 \\ MigrationJobVerificationError

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### ERROR_CODE_UNSPECIFIED

    Value: 0

An unknown error occurred

Generated from protobuf enum `ERROR_CODE_UNSPECIFIED = 0;`

### CONNECTION_FAILURE

    Value: 1

We failed to connect to one of the connection profile.

Generated from protobuf enum `CONNECTION_FAILURE = 1;`

### AUTHENTICATION_FAILURE

    Value: 2

We failed to authenticate to one of the connection profile.

Generated from protobuf enum `AUTHENTICATION_FAILURE = 2;`

### INVALID_CONNECTION_PROFILE_CONFIG

    Value: 3

One of the involved connection profiles has an invalid configuration.

Generated from protobuf enum `INVALID_CONNECTION_PROFILE_CONFIG = 3;`

### VERSION_INCOMPATIBILITY

    Value: 4

The versions of the source and the destination are incompatible.

Generated from protobuf enum `VERSION_INCOMPATIBILITY = 4;`

### CONNECTION_PROFILE_TYPES_INCOMPATIBILITY

    Value: 5

The types of the source and the destination are incompatible.

Generated from protobuf enum `CONNECTION_PROFILE_TYPES_INCOMPATIBILITY = 5;`

### NO_PGLOGICAL_INSTALLED

    Value: 7

No pglogical extension installed on databases, applicable for postgres.

Generated from protobuf enum `NO_PGLOGICAL_INSTALLED = 7;`

### PGLOGICAL_NODE_ALREADY_EXISTS

    Value: 8

pglogical node already exists on databases, applicable for postgres.

Generated from protobuf enum `PGLOGICAL_NODE_ALREADY_EXISTS = 8;`

### INVALID_WAL_LEVEL

    Value: 9

The value of parameter wal_level is not set to logical.

Generated from protobuf enum `INVALID_WAL_LEVEL = 9;`

### INVALID_SHARED_PRELOAD_LIBRARY

    Value: 10

The value of parameter shared_preload_libraries does not include
pglogical.

Generated from protobuf enum `INVALID_SHARED_PRELOAD_LIBRARY = 10;`

### INSUFFICIENT_MAX_REPLICATION_SLOTS

    Value: 11

The value of parameter max_replication_slots is not sufficient.

Generated from protobuf enum `INSUFFICIENT_MAX_REPLICATION_SLOTS = 11;`

### INSUFFICIENT_MAX_WAL_SENDERS

    Value: 12

The value of parameter max_wal_senders is not sufficient.

Generated from protobuf enum `INSUFFICIENT_MAX_WAL_SENDERS = 12;`

### INSUFFICIENT_MAX_WORKER_PROCESSES

    Value: 13

The value of parameter max_worker_processes is not sufficient.

Generated from protobuf enum `INSUFFICIENT_MAX_WORKER_PROCESSES = 13;`

### UNSUPPORTED_EXTENSIONS

    Value: 14

Extensions installed are either not supported or having unsupported
versions.

Generated from protobuf enum `UNSUPPORTED_EXTENSIONS = 14;`

### UNSUPPORTED_MIGRATION_TYPE

    Value: 15

Unsupported migration type.

Generated from protobuf enum `UNSUPPORTED_MIGRATION_TYPE = 15;`

### INVALID_RDS_LOGICAL_REPLICATION

    Value: 16

Invalid RDS logical replication.

Generated from protobuf enum `INVALID_RDS_LOGICAL_REPLICATION = 16;`

### UNSUPPORTED_GTID_MODE

    Value: 17

The gtid_mode is not supported, applicable for MySQL.

Generated from protobuf enum `UNSUPPORTED_GTID_MODE = 17;`

### UNSUPPORTED_TABLE_DEFINITION

    Value: 18

The table definition is not support due to missing primary key or replica
identity.

Generated from protobuf enum `UNSUPPORTED_TABLE_DEFINITION = 18;`

### UNSUPPORTED_DEFINER

    Value: 19

The definer is not supported.

Generated from protobuf enum `UNSUPPORTED_DEFINER = 19;`

### CANT_RESTART_RUNNING_MIGRATION

    Value: 21

Migration is already running at the time of restart request.

Generated from protobuf enum `CANT_RESTART_RUNNING_MIGRATION = 21;`

### SOURCE_ALREADY_SETUP

    Value: 23

The source already has a replication setup.

Generated from protobuf enum `SOURCE_ALREADY_SETUP = 23;`

### TABLES_WITH_LIMITED_SUPPORT

    Value: 24

The source has tables with limited support.

E.g. PostgreSQL tables without primary keys.

Generated from protobuf enum `TABLES_WITH_LIMITED_SUPPORT = 24;`

### UNSUPPORTED_DATABASE_LOCALE

    Value: 25

The source uses an unsupported locale.

Generated from protobuf enum `UNSUPPORTED_DATABASE_LOCALE = 25;`

### UNSUPPORTED_DATABASE_FDW_CONFIG

    Value: 26

The source uses an unsupported Foreign Data Wrapper configuration.

Generated from protobuf enum `UNSUPPORTED_DATABASE_FDW_CONFIG = 26;`

### ERROR_RDBMS

    Value: 27

There was an underlying RDBMS error.

Generated from protobuf enum `ERROR_RDBMS = 27;`

### SOURCE_SIZE_EXCEEDS_THRESHOLD

    Value: 28

The source DB size in Bytes exceeds a certain threshold. The migration
might require an increase of quota, or might not be supported.

Generated from protobuf enum `SOURCE_SIZE_EXCEEDS_THRESHOLD = 28;`

### EXISTING_CONFLICTING_DATABASES

    Value: 29

The destination DB contains existing databases that are conflicting with
those in the source DB.

Generated from protobuf enum `EXISTING_CONFLICTING_DATABASES = 29;`

### PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE

    Value: 30

Insufficient privilege to enable the parallelism configuration.

Generated from protobuf enum `PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 30;`