NewResourceCreationError

  • The document lists and describes various errors that can occur when creating new resources.

  • Errors include unspecified issues, unknown error codes, and problems related to setting IDs and using temporary IDs.

  • Specific errors cover not setting the ID field during creation, using duplicate temporary IDs, and issues with child resources when a parent resource with a temporary ID has errors.

Enum describing possible new resource creation errors.

Proto definition

Enums

CANNOT_SET_ID_FOR_CREATE

Do not set the id field while creating new resources.

DUPLICATE_TEMP_IDS

Creating more than one resource with the same temp ID is not allowed.

TEMP_ID_RESOURCE_HAD_ERRORS

Parent resource with specified temp ID failed validation, so no validation will be done for this child resource.

UNKNOWN

The received error code is not known in this version.

UNSPECIFIED

Enum unspecified.