# protocols-socket-errors
render pydantic_v2.BaseModel
  Error: --client-protocols['codec.unknown'].send.codec must be 'json', 'utf8' or 'bytes'; --client-protocols['codec.schema_missing'].send needs 'schema' for JSON messages; --client-protocols['codec.schema_extra'].send.schema applies only to JSON messages; --client-protocols['frame.text'].send.frame must be 'text' for utf8 messages; --client-protocols['frame.binary'].receive.frame must be 'binary' for bytes messages; --client-protocols['frame.json'].receive.frame must be 'text' or 'binary'; --client-protocols['subprotocols.token'].subprotocols[0] must be a subprotocol token; --client-protocols['subprotocols.token'].subprotocols[1] must be a subprotocol token; --client-protocols['subprotocols.repeated'].subprotocols[1] repeats a subprotocol; --client-protocols['message.type'] has no key 'compression'; --client-protocols['message.type'].send must be a message definition; --client-protocols['message.type'].receive has no key 'extra'
