E · Error An invalid request. Instead of a key, a reason (reason) text is included.
| reason | cause | afterward |
|---|---|---|
bad_op | unknown op | connection kept alive |
bad_key | key missing / exceeds 128B / contains whitespace or newline / not UTF-8 | connection kept alive |
bad_ttl | lease = 0 | connection kept alive |
bad_request | A fixed fields (4B) insufficient | connection kept alive |
line_too_long | exceeds 192B | connection kept alive (re-synchronizes at the next \n) |
not_active | request sent to a standby | connection closed after the response |
line_too_long does not close the connection — even if the client accidentally sends an overly long frame, the socket stays open and framing naturally re-synchronizes at the next \n.
Byte notation:
opis an ASCII character, andreasonis ASCII text (variable-length, shown asNin the structure). The trailing\nis0A.