What it means
option value outside its grammar.
How to handle it
Use a value that matches the option grammar and, when supplied, one of the values in meta.allowed.
Wire contract
| Code | invalid_option_value |
|---|---|
| Class | invalid_request |
| HTTP status | 400 |
| Meta keys | allowed |
| Raised | Yes |
The response uses the standard {"error": {…}} envelope. Branch on error.code, not the human-readable message. Preserve request_id when reporting a failure.