element-hq / element-hq/synapse
Querying "room state" on a room alias gives unhelpful error messages (SYN-545)
Open
O-Uncommon
S-Tolerable
T-Defect
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 46
Description
This issue has been migrated from [#1442](https://github.com/matrix-org/synapse/issues/1442).
---
Due to a small client bug I embedded a room alias in a query to `GET /rooms/:room_id/state` rather than the room ID.
Synapse's error result was simply to tell me 403 you're not in the room, rather than to point out that the room ID wasn't syntactically valid; as it could know from the # instead of ! symbol.
(Imported from https://matrix.org/jira/browse/SYN-545)
(Reported by @leonerd)
Contributor guide
Assessment
This issue has not been assessed yet.