gRPC Status Codes

A high-performance RPC framework by Google. gRPC status codes describe the outcome of remote procedure calls.

View Specification →

0-16 gRPC Status Codes

Standard gRPC status codes (0-16).

0
OK

The operation completed successfully. Not an error; returned on success.

1
CANCELLED

The operation was cancelled, typically by the caller.

2
UNKNOWN

An unknown error occurred. This may be returned when a server raises an exception that doesn't map to any known …

3
INVALID_ARGUMENT

The client specified an invalid argument. This indicates arguments that are problematic regardless of the state of the system.

4
DEADLINE_EXCEEDED

The deadline expired before the operation could complete. For operations that change the state of the system, this error may …

5
NOT_FOUND

Some requested entity was not found. For example, a file or directory that the RPC was supposed to operate on …

6
ALREADY_EXISTS

The entity that a client attempted to create already exists. For example, a file or directory that the RPC was …

7
PERMISSION_DENIED

The caller does not have permission to execute the specified operation. This is not for unauthenticated callers — use UNAUTHENTICATED …

8
RESOURCE_EXHAUSTED

Some resource has been exhausted, perhaps a per-user quota, or the entire file system is out of space.

9
FAILED_PRECONDITION

The operation was rejected because the system is not in a state required for the operation's execution. For example, deleting …

10
ABORTED

The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort.

11
OUT_OF_RANGE

The operation was attempted past the valid range. For example, seeking or reading past the end of a file.

12
UNIMPLEMENTED

The operation is not implemented or is not supported/enabled in this service.

13
INTERNAL

An internal error occurred. This means that some invariant expected by the underlying system has been broken.

14
UNAVAILABLE

The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a …

15
DATA_LOSS

Unrecoverable data loss or corruption has occurred.

16
UNAUTHENTICATED

The request does not have valid authentication credentials for the operation.