API error · HTTP 400

invalid_option_value

option value outside its grammar.

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

Codeinvalid_option_value
Classinvalid_request
HTTP status400
Meta keysallowed
RaisedYes

The response uses the standard {"error": {…}} envelope. Branch on error.code, not the human-readable message. Preserve request_id when reporting a failure.