mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-31 22:18:35 -04:00
Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised access_token
This commit is contained in:
parent
d5033849a5
commit
61933f8e52
3 changed files with 8 additions and 3 deletions
|
@ -262,7 +262,10 @@ the error, but the keys 'error' and 'errcode' will always be present.
|
|||
Some standard error codes are below:
|
||||
|
||||
M_FORBIDDEN:
|
||||
Forbidden access, e.g. bad access token, failed login.
|
||||
Forbidden access, e.g. joining a room without permission, failed login.
|
||||
|
||||
M_UNKNOWN_TOKEN:
|
||||
The access token specified was not recognised.
|
||||
|
||||
M_BAD_JSON:
|
||||
Request contained valid JSON, but it was malformed in some way, e.g. missing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue