gRPC status 0: OK

OK is gRPC status code 0. The call succeeded. It is the only status that is not an error.

Updated

Usual causes

  • The server handler returned normally.

What to check

  1. If the response looks wrong despite OK, the server returned a message with fields at their default values; in proto3 a zero, an empty string and an unset field look the same on the wire.
  2. For a stream, OK arrives once, after the last message, in the trailers.

Retry, and the HTTP equivalent

OK
Code0
NameOK
In istek's status barok
RetryNothing to retry.
HTTP status200

istek names the status of every call it makes, ok included, and explains transport failures in plain words. See istek.

istek, $29 once

macOS 14.0+ · Apple Silicon · no account, no telemetry

Buy istek · $29