# MigrationError

- [JSON representation](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/MigrationError#SCHEMA_REPRESENTATION)

Represents migration resource error information that can be used with google.rpc.Status message. MigrationError is used to present the user with error information in migration operations.

| JSON representation |
|---|
| ``` { "code": enum (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/ErrorCode`), "errorMessage": { object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/MigrationWarning#LocalizedMessage`) }, "actionItem": { object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/MigrationWarning#LocalizedMessage`) }, "helpLinks": [ { object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/MigrationWarning#Link`) } ], "errorTime": string } ``` |

| Fields ||
|---|---|
| `code` | ``enum (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/ErrorCode`)`` Output only. The error code. |
| `errorMessage` | ``object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/MigrationWarning#LocalizedMessage`)`` Output only. The localized error message. |
| `actionItem` | ``object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/MigrationWarning#LocalizedMessage`)`` Output only. Suggested action for solving the error. |
| `helpLinks[]` | ``object (`https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/v1/MigrationWarning#Link`)`` Output only. URL(s) pointing to additional information on handling the current error. |
| `errorTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time the error occurred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |