Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant