Closed richvdh closed 1 year ago
These requests are handled by matrix-bot-sdk
, so it's possible that library is buggy. Will take a look.
Opened https://github.com/turt2live/matrix-bot-sdk/issues/248 to track the upstream bug
Believe this has been fixed for a while.
We see lots of this on requests to
POST /_matrix/client/r0/join/{roomId}
andPOST /_matrix/client/r0/rooms/{roomId}/leave
from the IRC bridges:... which suggests it is making requests with a malformed (empty?) body. Currently Synapse accepts this, but it's not spec-compliant and we'll be fixing this in Synapse soon: https://github.com/matrix-org/synapse/issues/13388.
Please could you make sure to include (at least) an empty json object in the request body?