diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-14 13:47:39 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-14 13:47:39 +0100 |
commit | 61933f8e5278fda03e34eb25b729dd6a3987b6ab (patch) | |
tree | 18723b3f6cebeecef31be925f66b9c97353d72aa /docs | |
parent | BF: Use ng-src (diff) | |
download | synapse-61933f8e5278fda03e34eb25b729dd6a3987b6ab.tar.xz |
Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised access_token
Diffstat (limited to 'docs')
-rw-r--r-- | docs/client-server/specification.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/client-server/specification.rst b/docs/client-server/specification.rst index 7df2bb14c5..97c8587a6d 100644 --- a/docs/client-server/specification.rst +++ b/docs/client-server/specification.rst @@ -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 |