grpc
gRPC Status Codes
Status codes returned by gRPC calls. Defined in the gRPC Core specification and mapped to HTTP/2 RST_STREAM error codes.
17 codes
· All codes 17 codes
- ABORTED Aborted The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or a transaction abort.
- ALREADY_EXISTS Already exists The resource that a client tried to create already exists.
- CANCELLED Cancelled The operation was cancelled, typically by the caller.
- DATA_LOSS Data loss Unrecoverable data loss or corruption has occurred.
- DEADLINE_EXCEEDED Deadline exceeded The deadline expired before the operation could complete. This may occur even if the operation completed successfully on the server.
- FAILED_PRECONDITION Failed precondition The operation was rejected because the system is not in a state required for the operation, such as deleting a non-empty directory.
- INTERNAL Internal Internal error. This indicates that some invariant expected by the underlying system has been broken.
- INVALID_ARGUMENT Invalid argument The client specified an invalid argument. This differs from FAILED_PRECONDITION in that INVALID_ARGUMENT indicates arguments that are invalid regardless of the system state.
- NOT_FOUND Not found A requested resource was not found.
- OK OK The operation completed successfully.
- OUT_OF_RANGE Out of range The operation was attempted past the valid range, such as seeking beyond end of file.
- PERMISSION_DENIED Permission denied The caller does not have permission to execute the operation. This differs from UNAUTHENTICATED: the caller is identified but lacks permission.
- RESOURCE_EXHAUSTED Resource exhausted A resource has been exhausted, such as a per-user quota or the file system being out of space.
- UNAUTHENTICATED Unauthenticated The request does not have valid authentication credentials for the operation.
- UNAVAILABLE Unavailable The service is currently unavailable. This is most likely a transient condition that may be corrected by retrying with a backoff.
- UNIMPLEMENTED Unimplemented The operation is not implemented or is not supported in this service.
- UNKNOWN Unknown An unknown error occurred. This is used when the server returns a status code that is not recognised by the client.