gRPC

2 UNKNOWN

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

When You See This Code

The server threw an unhandled exception or returned an error that gRPC couldn't classify into a more specific status code.

How to Fix

Check the server logs for the underlying exception. Wrap server-side errors with explicit gRPC status codes instead of letting them bubble up as UNKNOWN.

Specification

View RFC / Specification →