Compare commits

..

1 commit

Author SHA1 Message Date
Hugh Nimmo-Smith b5954ec647
Merge 9d73c8d9a4 into 252de984cc 2026-03-11 13:54:51 +00:00
2 changed files with 0 additions and 12 deletions

View file

@ -93,8 +93,6 @@ request being made was invalid.
These error codes can be returned by any API endpoint:
<!-- Please keep the error codes below in alphabetical order -->
`M_BAD_JSON`
: Request contained valid JSON, but it was malformed in some way, e.g.
missing required keys, invalid values for keys.
@ -183,16 +181,12 @@ code if the endpoint is implemented, but the incorrect HTTP method is used.
: The account has been [suspended](#account-suspension) and can only be used for
limited actions at this time.
<!-- Please keep the error codes above in alphabetical order -->
#### Other error codes
The following error codes are specific to certain endpoints.
<!-- TODO: move them to the endpoints that return them -->
<!-- Please keep the error codes below in alphabetical order -->
`M_BAD_STATE`
: The state change requested cannot be performed, such as attempting to
unban a user who is not banned.
@ -276,8 +270,6 @@ for endpoints that prove authentication, such as [`/login`](#get_matrixclientv3l
`M_USER_IN_USE`
: Encountered when trying to register a user ID which has been taken.
<!-- Please keep the error codes above in alphabetical order -->
#### Rate limiting
Homeservers SHOULD implement rate limiting to reduce the risk of being

View file

@ -70,8 +70,6 @@ the keys `error` and `errcode` MUST always be present.
Some standard error codes are below:
<!-- Please keep the error codes below in alphabetical order -->
`M_EMAIL_SEND_ERROR`
: There was an error sending an email. Typically seen when attempting to
verify ownership of a given email address.
@ -121,8 +119,6 @@ This is expected to be returned with a 404 HTTP status code if the endpoint is
not implemented or a 405 HTTP status code if the endpoint is implemented, but
the incorrect HTTP method is used.
<!-- Please keep the error codes above in alphabetical order -->
## Privacy
Identity is a privacy-sensitive issue. While the identity server exists