# rpc error: code = Unknown desc = grpc: received message larger than max

- **ID:** `go/grpc-unknown-field-received`
- **Domain:** go
- **Category:** resource_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The incoming gRPC message exceeds the configured maximum message size limit (default 4MB for server, 4MB for client).

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.60.0 | active | — | — |

## Workarounds

1. **** (90% success)
   ```
   Set a higher MaxRecvMsgSize on the server and client using grpc.MaxRecvMsgSize option.
   ```
2. **** (85% success)
   ```
   Implement streaming or chunking for large payloads to avoid hitting size limits.
   ```

## Dead Ends

- **** —  (70% fail)
- **** —  (80% fail)
