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

Unrecognized APIs yield a non-JSON error response #2739

Closed

Description

@t3chguy

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

Activity

  1. added a commit that references this issue on Sep 27, 2022
    34bf23e
  2. added a commit that references this issue on Sep 27, 2022
    6c67552
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions