DatabaseError

  • The document provides an enumeration of possible database errors.

  • Each enum value describes a specific database error with a brief explanation.

  • Errors include unspecified issues, unknown codes, concurrent modifications, data constraint violations, and requests that are too large.

Enum describing possible database errors.

Proto definition

Enums

CONCURRENT_MODIFICATION

Multiple requests were attempting to modify the same resource at once. Retry the request.

DATA_CONSTRAINT_VIOLATION

The request conflicted with existing data. This error will usually be replaced with a more specific error if the request is retried.

REQUEST_TOO_LARGE

The data written is too large. Split the request into smaller requests.

UNKNOWN

The received error code is not known in this version.

UNSPECIFIED

Enum unspecified.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.