Enumeration GatewayCloseCodes

Enumeration Members

ALREADY_AUTHENTICATED: 4005

You sent more than one identify payload. Don't do that!

AUTHENTICATION_FAILED: 4004

The account token sent with your identify payload is incorrect

DECODE_ERROR: 4002

You sent an invalid payload. Don't do that!

DISALLOWED_INTENTS: 4014

You sent a disallowed intent for a Gateway intent. You may have tried to specify an intent that you have not enabled or are not approved for

INVALID_API_VERSION: 4012

You sent an invalid version for the Gateway

INVALID_INTENTS: 4013

You sent an invalid intent for a Gateway intent. You may have incorrectly calculated the bitwise value

INVALID_SEQUENCE: 4007

The sequence sent when resuming the session was invalid. Reconnect and start a new session

INVALID_SHARD: 4010

You sent us an invalid shard when identifying

NOT_AUTHENTICATED: 4003

You sent us a payload prior to identifying, or this session has been invalidated

RATE_LIMITED: 4008

Woah nelly! You're sending payloads too quickly. Slow it down! You will be disconnected on receiving this

SESSION_TIMEOUT: 4009

Your session timed out. Reconnect and start a new one

SHARDING_REQUIRED: 4011

The session would have handled too many guilds—you are required to shard your connection in order to connect

UNKNOWN_ERROR: 4000

We're not sure what went wrong. Try reconnecting?

UNKNOWN_OPCODE: 4001

You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that!