Add error codes from MSC4178

pull/1944/head
David Baker 1 year ago
parent 6d088e03a1
commit 0b0b184adf

@ -218,6 +218,9 @@ only read state (e.g.: `/sync`, get account data, etc).
The user is unable to reject an invite to join the server notices room. The user is unable to reject an invite to join the server notices room.
See the [Server Notices](#server-notices) module for more information. See the [Server Notices](#server-notices) module for more information.
`M_THREEPID_MEDIUM_NOT_SUPPORTED`
The homeserver does not support adding a third party identifier of the given medium.
#### Rate limiting #### Rate limiting
Homeservers SHOULD implement rate limiting to reduce the risk of being Homeservers SHOULD implement rate limiting to reduce the risk of being

@ -284,6 +284,10 @@ paths:
has an account on the homeserver in question. has an account on the homeserver in question.
* `M_SERVER_NOT_TRUSTED` : The `id_server` parameter refers to an identity server * `M_SERVER_NOT_TRUSTED` : The `id_server` parameter refers to an identity server
that is not trusted by this homeserver. that is not trusted by this homeserver.
* `M_THREEPID_MEDIUM_NOT_SUPPORTED`
The homeserver does not support adding email addresses.
* `M_INVALID_PARAM`
The email address given was not valid.
content: content:
application/json: application/json:
schema: schema:
@ -345,6 +349,10 @@ paths:
has an account on the homeserver in question. has an account on the homeserver in question.
* `M_SERVER_NOT_TRUSTED` : The `id_server` parameter refers to an identity server * `M_SERVER_NOT_TRUSTED` : The `id_server` parameter refers to an identity server
that is not trusted by this homeserver. that is not trusted by this homeserver.
* `M_THREEPID_MEDIUM_NOT_SUPPORTED`
The homeserver does not support adding phone numbers.
* `M_INVALID_PARAM`
The phone number given was not valid.
content: content:
application/json: application/json:
schema: schema:

Loading…
Cancel
Save