This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/displayname returns non-JSON body #8029
Labels
z-bug
(Deprecated Label)
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
z-p3
(Deprecated Label)
Comments
@KitsuneRal What's the request you performed? (i.e. what's the HTTP method you used?) Both
|
Oh looks like |
Ok, I wasn't clear: |
erikjohnston
added
z-bug
(Deprecated Label)
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
z-p3
(Deprecated Label)
labels
Aug 6, 2020
KitsuneRal
added a commit
to quotient-im/libQuotient
that referenced
this issue
Aug 23, 2020
This is a temporary workaround for matrix-org/synapse#8029 - note that regenerating CS API code will lead to overwriting this. The proper fix should be done in matrix-doc (see https://github.com/matrix-org/matrix-doc/issues/2717).
4 tasks
erikjohnston
pushed a commit
that referenced
this issue
Oct 14, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
z-bug
(Deprecated Label)
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
z-p3
(Deprecated Label)
Description
An attempt to call
/profile/{}/displayname
with an empty body results (rightfully) in a 400 error, with plain text "Unable to parse name" in the response. The expected error payload is something about (could also beM_NOT_JSON
instead ofM_BAD_JSON
):Version information
The text was updated successfully, but these errors were encountered: