Google Cloud API Error Codes
Canonical error codes used across all Google Cloud APIs, defined as google.rpc.Code in the Google Cloud API design guide. Each code maps to a gRPC status and an HTTP status, providing a unified error model for REST and gRPC surfaces.
References
17 codes
-
ABORTEDAborted -
ALREADY_EXISTSAlready exists -
CANCELLEDCancelled -
DATA_LOSSData loss -
DEADLINE_EXCEEDEDDeadline exceeded -
FAILED_PRECONDITIONFailed precondition -
INTERNALInternal -
INVALID_ARGUMENTInvalid argument -
NOT_FOUNDNot found -
OKOK -
OUT_OF_RANGEOut of range -
PERMISSION_DENIEDPermission denied -
RESOURCE_EXHAUSTEDResource exhausted -
UNAUTHENTICATEDUnauthenticated -
UNAVAILABLEUnavailable -
UNIMPLEMENTEDUnimplemented -
UNKNOWNUnknown