Skip to main content
Version: 6.0.x

Error Codes

In the following, we list the error codes that can be returned by the Gateway / API.

Gateway Error Codes​

After recieving an Error, your Connection gets closed and you need to reconnect to the Gateway.

CODEDESCRIPTIONEXPLANATION
1000Unknown ErrorUhm, I don't know what went wrong. Just reconnect.
4000Wrong VersionYou gave the Gateway a wrong or outdated Gateway Version.
4001Wrong Auth KeyYou submitted an auth key, that is either wrong or expired.
4002Bot ID UsedThe Bot ID, that was automatically generated is already in use. This should never happen, so you should never see this error. Hopefully.
4003No OpcodeNo Opcode was provided.
4004Wrong OpcodeA wrong Opcode was provided, maybe you've used a Recieve Opcode?
4005Malformed DataWrong or malformed data was provided for this Opcode.
4006No HeartbeatThe Gateway didn't recieve a Heartbeat.
4007Wrong IdentifyA wrong Identify Payload was sent.

Error Code Specification​

info

The specification of the error codes is not yet finished.