The operation was aborted due to transient issue such as competing transaction
resources. A SpannerTransaction should be retried if this error
is encountered.
AlreadyExists
The given resource could be not created because it already exists.
Cancelled
The operation was cancelled.
DataLoss
Unrecoverable data loss or corruption.
DeadlineExceeded
A timeout has occurred. A SpannerTransaction should be
retried if this error is encountered.
FailedPrecondition
Operation was rejected because the system is not in a state required for the
operation's execution.
Internal
Internal error.
InvalidArgument
A bad SQL statement or other invalid input was sent to Spanner.
NotFound
The given resource (Spanner Instance, Database, Table) was not
found.
OutOfRange
The operation attempted to read past the valid range.
PermissionDenied
The supplied credential from CredentialFile
or from default application credentials does not have sufficient permission for the request.
ResourceExhausted
A resource associated with Spanner has been exhausted. This may occur due to a server-side
failure, or due to the local maximum number of sessions being reached.
Unauthenticated
There is no supplied credential either through default application credentials or
directly through CredentialFile
Unavailable
The service is currently unavailable. This is a most likely a transient condition
and may be corrected by retrying. A SpannerTransaction should be
retried if this error is encountered.
Unimplemented
Operation is not implemented or not supported/enabled in this service.
Unknown
Unknown error. This may happen if an internal error occured or
not enough information was obtained to produce a useful message.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eErrorCode\u003c/code\u003e enum in the \u003ccode\u003eGoogle.Cloud.Spanner.Data\u003c/code\u003e namespace provides detailed codes for errors encountered during Spanner operations, helping to identify the specific cause of each error.\u003c/p\u003e\n"],["\u003cp\u003eVersion 5.0.0-beta05 is the latest version of the documentation, while version 4.0.0 is the currently viewed version, and many versions between 3.5.0 and 5.0.0-beta05 can be found, in addition to further detailed information about each version.\u003c/p\u003e\n"],["\u003cp\u003eThe error codes cover a range of issues, including transient problems like \u003ccode\u003eAborted\u003c/code\u003e and \u003ccode\u003eUnavailable\u003c/code\u003e, resource-related errors like \u003ccode\u003eResourceExhausted\u003c/code\u003e, and data-specific errors such as \u003ccode\u003eDataLoss\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSpecific error messages, like \u003ccode\u003ePermissionDenied\u003c/code\u003e and \u003ccode\u003eUnauthenticated\u003c/code\u003e, indicate problems with user credentials and the user's permission level.\u003c/p\u003e\n"],["\u003cp\u003eThe error code fields each have a Name and Description, the Name is the \u003ccode\u003eErrorCode\u003c/code\u003e such as \u003ccode\u003eAborted\u003c/code\u003e and the Description details what the \u003ccode\u003eErrorCode\u003c/code\u003e means in terms of what happened, such as "The operation was aborted due to transient issue such as competing transaction resources.".\u003c/p\u003e\n"]]],[],null,[]]