gRPC Error Codes
gRPC status codes are a small, language-neutral set of error states returned by gRPC services. Each status has a numeric code and a canonical name. The name is what you should log and match on; the number is what travels on the wire.
| Code | What it means | Severity | Source |
|---|---|---|---|
3 INVALID_ARGUMENT |
INVALID_ARGUMENT The client sent an argument that the server considers invalid. |
warning | gRPC Status Codes |
4 DEADLINE_EXCEEDED |
DEADLINE_EXCEEDED The call did not complete before its deadline. |
error | gRPC Status Codes |
5 NOT_FOUND |
NOT_FOUND The requested resource does not exist. |
warning | gRPC Status Codes |
6 ALREADY_EXISTS |
ALREADY_EXISTS The resource the client tried to create already exists. |
warning | gRPC Status Codes |
7 PERMISSION_DENIED |
PERMISSION_DENIED The caller is authenticated but not authorized. |
warning | gRPC Status Codes |
8 RESOURCE_EXHAUSTED |
RESOURCE_EXHAUSTED A quota or resource limit has been exceeded. |
error | gRPC Status Codes |
9 FAILED_PRECONDITION |
FAILED_PRECONDITION The system is not in the state required for the operation. |
warning | gRPC Status Codes |
10 ABORTED |
ABORTED The operation was aborted, typically because of a concurrency conflict. |
warning | gRPC Status Codes |
12 UNIMPLEMENTED |
UNIMPLEMENTED The server does not implement the requested method or operation. |
error | gRPC Status Codes |
13 INTERNAL |
INTERNAL An internal server error occurred. |
error | gRPC Status Codes |
14 UNAVAILABLE |
UNAVAILABLE The service is currently unavailable. |
error | gRPC Status Codes |
16 UNAUTHENTICATED |
UNAUTHENTICATED The request does not have valid authentication credentials. |
warning | gRPC Status Codes |
11 OUT_OF_RANGE |
OUT_OF_RANGE The request is valid, but a value is outside the range the server accepts. |
warning | gRPC Status Codes |
No codes match that filter.
Common gRPC codes
How to read gRPC codes
Start with the exact code and the context in which it appeared. A code is only a label: the same value can mean different things in different products, versions, or components. Use the quick answer and the official source on the detail page to confirm the meaning before changing a configuration or deleting data.
If the code is new to you, search this page first, then open the detail page for causes and step-by-step fixes. When a fix requires administrator rights, a reboot, or a data-destructive action, the page will say so explicitly.
Found a mistake or a missing code?
Send us the product, code, and official source. We review every correction before publishing.