# rpc error: code = InvalidArgument desc = invalid enum value: 99 for field status

- **ID:** `go/grpc-out-of-range-enum-value`
- **Domain:** go
- **Category:** data_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The client sends an integer that doesn't map to any defined enum value in the proto.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   if status < pb.Status_STATUS_UNKNOWN || status > pb.Status_STATUS_DONE { return error }
   ```
2. **** (80% success)
   ```
   // Use protoreflect to check if value is defined.
   ```

## Dead Ends

- **** — Go will allow the conversion but protobuf deserialization will fail. (80% fail)
- **** — The server will reject the message. (100% fail)
