ErrorResponse
Inheritors
Types
An application service used the m.login.application_service type without setting inhibit_login to true, but the server doesn't support logging in via the Legacy authentication API.
Request contained valid JSON, but it was malformed in some way, e.g. missing required keys, invalid values for keys.
The state change requested cannot be performed, such as attempting to unban a user who is not banned.
The user is unable to reject an invite to join the server notices room. See the Server Notices module for more information.
The Captcha provided did not match what was expected.
A Captcha is required to complete the request.
All ErrorResponses, that we cannot map to a subtype of ErrorResponse.
No resource was found for this request.
The resource being requested is reserved by an application service, or the application service making the request has not created the resource.
Forbidden access, e.g. joining a room without permission, failed login.
The room or resource does not permit guests to access it.
The client attempted to join a room that has a version the server does not support. Inspect the room_version property of the error response for the room's version.
A parameter that was specified has the wrong value. For example, the server expected an integer and instead received a string.
Sent when the initial state given to the createRoom API is invalid.
Encountered when trying to register a user ID which is not valid.
Too many requests have been sent in a short period of time. Wait a while then try again.
A required parameter was missing from the request.
No access token was specified for the request.
No resource was found for this request.
Request did not contain valid JSON.
The request cannot be completed because the homeserver has reached a resource limit imposed on it. For example, a homeserver held in a shared hosting environment may reach a resource limit if it starts using too much memory or disk space.
Sent when the room alias given to the createRoom API is already in use.
The client's request used a third party server, eg. identity server, that this server does not trust.
The homeserver does not support adding a third party identifier of the given medium.
Authentication could not be performed on the third party identifier.
The server does not permit this third party identifier. This may happen if the server only permits, for example, email addresses from a particular domain.
Sent when a threepid given to an API cannot be used because the same threepid is already in use.
Sent when a threepid given to an API cannot be used because no record matching the threepid was found.
The request or entity was too large.
The request was not correctly authorized. Usually due to login failures.
An unknown error has occurred.
The access token specified was not recognised.
The server did not understand the request.
The client's request to create a room used a room version that the server does not support.
The user ID associated with the request has been deactivated. Typically for endpoints that prove authentication, such as /login.
Encountered when trying to register a user ID which has been taken.
The account has been locked and cannot be used at this time.
The account has been suspended and can only be used for limited actions at this time.