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 error codes for various issues that can occur when interacting with Spanner, such as \u003ccode\u003eAborted\u003c/code\u003e, \u003ccode\u003eAlreadyExists\u003c/code\u003e, \u003ccode\u003eCancelled\u003c/code\u003e, and \u003ccode\u003eDataLoss\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSeveral error codes, including \u003ccode\u003eAborted\u003c/code\u003e, \u003ccode\u003eDeadlineExceeded\u003c/code\u003e, and \u003ccode\u003eUnavailable\u003c/code\u003e, indicate transient issues, and the documentation recommends retrying the \u003ccode\u003eSpannerTransaction\u003c/code\u003e in those cases.\u003c/p\u003e\n"],["\u003cp\u003eErrors like \u003ccode\u003eInvalidArgument\u003c/code\u003e suggest an issue with the SQL statement or input, while \u003ccode\u003eNotFound\u003c/code\u003e means a specified Spanner resource could not be located.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePermissionDenied\u003c/code\u003e and \u003ccode\u003eUnauthenticated\u003c/code\u003e error codes point to problems with credentials, specifically the credential file not having adequate permissions or a credential not being supplied.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers the \u003ccode\u003eErrorCode\u003c/code\u003e enum across multiple versions of the Google Cloud Spanner Data library for .NET, ranging from the latest \u003ccode\u003e5.0.0-beta05\u003c/code\u003e to older releases like \u003ccode\u003e3.5.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]