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

Unrecognized APIs yield a non-JSON error response #2739

Closed
t3chguy opened this issue Sep 27, 2022 · 0 comments · Fixed by #2740
Closed

Unrecognized APIs yield a non-JSON error response #2739

t3chguy opened this issue Sep 27, 2022 · 0 comments · Fixed by #2740

Comments

@t3chguy
Copy link
Member

t3chguy commented Sep 27, 2022

Description

  • What is the problem: Dendrite returns 404 page not found error instead of a Matrix JSON M_UNRECOGNIZED errcode
  • Who is affected: Anyone using features which Dendrite does not yet support
  • How is this bug manifesting: 404 response with non-JSON response
  • When did this first appear: Presumably day 0

Steps to reproduce

  • Spin up a dendrite without msc2946 enabled
  • curl 'https://$DENDRITE/_matrix/client/v1/rooms/roomId/hierarchy'

Synapse in comparison returns {"errcode":"M_UNRECOGNIZED","error":"Unrecognized request"} for unknown APIs

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 a pull request may close this issue.

1 participant