mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 11:34:09 +01:00
Add error codes from MSC4178
This commit is contained in:
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.
|
||||
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
|
||||
|
||||
Homeservers SHOULD implement rate limiting to reduce the risk of being
|
||||
|
|
|
|||
|
|
@ -284,6 +284,10 @@ paths:
|
|||
has an account on the homeserver in question.
|
||||
* `M_SERVER_NOT_TRUSTED` : The `id_server` parameter refers to an identity server
|
||||
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:
|
||||
application/json:
|
||||
schema:
|
||||
|
|
@ -345,6 +349,10 @@ paths:
|
|||
has an account on the homeserver in question.
|
||||
* `M_SERVER_NOT_TRUSTED` : The `id_server` parameter refers to an identity server
|
||||
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:
|
||||
application/json:
|
||||
schema:
|
||||
|
|
|
|||
Loading…
Reference in a new issue