matrix-org / matrix-org/matrix-spec
/directory/room/{alias} should return a descriptive error code when there's a conflict
Open
Nobody has claimed this yet.
A-Client-Server
enhancement
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
Currently it returns a 409 M_UNKNOWN. This should be something like 409 M_IN_USE.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Matrix specification section defining /directory/room/{alias} and read how conflicts are currently documented. Update the documented 409 response so the conflict uses a descriptive error code such as M_IN_USE, then verify the surrounding response examples and definitions remain consistent.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100