Skip to content

Update expected response status code when we provide an unrecognised prev_event (MSC2716)#326

Merged
MadLittleMods merged 1 commit intomainfrom
madlittlemods/settle-on-error-code
Feb 25, 2022
Merged

Update expected response status code when we provide an unrecognised prev_event (MSC2716)#326
MadLittleMods merged 1 commit intomainfrom
madlittlemods/settle-on-error-code

Conversation

@MadLittleMods
Copy link
Collaborator

Update Complement to match the error specified in Synapse, see https://github.com/matrix-org/synapse/blob/54e74cc15f30585f5874780437614c0df6f639d9/synapse/rest/client/room_batch.py#L135-L140

SynapseError: 400 - No auth events found for given prev_event query parameter. The prev_event=['$some-non-existant-event-id'] probably does not exist.

@MadLittleMods MadLittleMods merged commit 8681c5c into main Feb 25, 2022
@MadLittleMods MadLittleMods deleted the madlittlemods/settle-on-error-code branch February 25, 2022 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant