This is printed if the declaration request body is too big:
error WARN rpc: invalid request err=BytesRejection(FailedToBufferBody(LengthLimitError(LengthLimitError(Error { inner: LengthLimitError })))) when I try to declare my contract in localhost. with sncast. And sncast throws error error: Unknown RPC error: data did not match any variant of untagged enum JsonRpcResponse: data did not match any variant of untagged enum JsonRpcResponse
Originally reported on Discord (original post). The issue was resolved promptly.
Ideally we would tell users to use --request-body-size-limit without them reporting an issue.
The user reported getting this with sncast; perhaps that client is just not properly parsing our response, but maybe the warning log could be improved in that case.
This is printed if the declaration request body is too big:
Originally reported on Discord (original post). The issue was resolved promptly.
Ideally we would tell users to use
--request-body-size-limit
without them reporting an issue. The user reported getting this withsncast
; perhaps that client is just not properly parsing our response, but maybe the warning log could be improved in that case.