Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

PUT /dehydrated_device is broken and doesn't accept valid requests #14334

@t3chguy

Description

@t3chguy

Description

See matrix-org/matrix-js-sdk#2809
See https://github.com/matrix-org/synapse/pull/14054/files#r1009320711

The PUT API is demanding a device_id body param, which is not part of the MSC. https://github.com/uhoreg/matrix-doc/blob/dehydration/proposals/2697-device-dehydration.md#dehydrating-a-device

Steps to reproduce

  • Send valid PUT /dehydrated_device request
  • Receive 400 (Bad Request) M_MISSING_PARAM: MatrixError: [400] 1 validation error for PutBody device_id field required (type=value_error.missing) (/_matrix/client/unstable/org.matrix.msc2697.v2/dehydrated_device)

Homeserver

Any

Synapse Version

1.70.0

Installation Method

No response

Platform

Any

Relevant log output

M_MISSING_PARAM: MatrixError: [400] 1 validation error for PutBody device_id field required (type=value_error.missing) (/_matrix/client/unstable/org.matrix.msc2697.v2/dehydrated_device)

Anything else that would be useful to know?

Regressed by #14054

Metadata

Metadata

Assignees

Labels

O-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorBlocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.X-RegressionSomething broke which worked on a previous releaseX-Release-BlockerMust be resolved before making a release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions