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 →Guides
Choosing the Right HTTP Status Codes for REST APIs
API Design
gRPC Status Codes: A Practical Guide
API Design
Debugging Timeout Errors: 408 and 504
Debugging & Troubleshooting
How to Implement and Handle Rate Limiting (429)
API Design
API Versioning Strategies: URL, Header, and Query Param
API Design
Designing Consistent API Error Responses
API Design
API Keys vs OAuth vs JWT: Choosing the Right Auth Method
Security & Authentication