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.
On this page
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
Compare With
Guides
Debugging Scenarios
Specifications
Glossary
Frequently Asked Questions
What is 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 do you see gRPC 2 UNKNOWN?
The server threw an unhandled exception or returned an error that gRPC couldn't classify into a more specific status code.
How to fix gRPC 2 UNKNOWN?
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.