CLOSECODES
When something went wrong with websocket communication the server can decide to close the connection. When a connection is closed there will be a code attached to it. If you receive a non 4000 error the connection was closed because of external reasons which should be reported to us. If you receive any of these codes you should investigate the reason of the error and fix it (with the exception of code 4000). Do not repeat sending messages before the issue has been resolved.
4000
Unknown error
Something unexpected happened. Try reconnecting.
4001
Invalid JSON
Invalid JSON has been received. Check syntax before trying again.
4002
Not authenticated
You tried sending a request without being authenticated.
4003
Authentication failed
We were unable to authenticate you with the token we received.
4004
Bad request
We received invalid information or information is missing.
Go back to the readme
Last updated