Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 403 response error to /_matrix/federation/v1/state_ids/{roomId} #1912

Open
anoadragon453 opened this issue Jul 19, 2024 · 0 comments · May be fixed by #1926
Open

Add 403 response error to /_matrix/federation/v1/state_ids/{roomId} #1912

anoadragon453 opened this issue Jul 19, 2024 · 0 comments · May be fixed by #1926
Labels
improvement An idea/future MSC for the spec

Comments

@anoadragon453
Copy link
Member

Suggestion
/_matrix/federation/v1/state_ids/{roomId} currently specifies 200 and 404 status code responses. However, homeserver implementations (Synapse, Conduit) have been returning 403s in the following cases:

  1. The host is not in the room.
  2. The host is banned from the room via its ACL.

403 should be specified as a possible response code in these cases.

@anoadragon453 anoadragon453 added the improvement An idea/future MSC for the spec label Jul 19, 2024
AllMightLegend added a commit to AllMightLegend/matrix-spec that referenced this issue Aug 12, 2024
fixes matrix-org#1912 by adding a 403 error response to /_matrix/federation/v1/state_ids/{roomId}
@AllMightLegend AllMightLegend linked a pull request Aug 12, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An idea/future MSC for the spec
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant