discord-is.fun
ReferenceGateway

Voice close codes

Close codes from the voice WebSocket and what each one means.

16 / 16
CodeNameExplanation
4001Unknown opcodeYou sent an invalid opcode.
4002Failed to decode payloadYou sent an invalid payload in your identifying to the Gateway.
4003Not authenticatedYou sent a payload before identifying with the Gateway.
4004Authentication failedThe token you sent in your identify payload is incorrect.
4005Already authenticatedYou sent more than one identify payload. Stahp.
4006Session no longer validYour session is no longer valid.
4009Session timeoutYour session has timed out.
4011Server not foundWe can't find the server you're trying to connect to.
4012Unknown protocolWe didn't recognize the protocol you sent.
4014DisconnectedDisconnect individual client (you were kicked, the main gateway session was dropped, etc.). Should not reconnect.
4015Voice server crashedThe server crashed. Our bad! Try resuming.
4016Unknown encryption modeWe didn't recognize your encryption.
4017E2EE/DAVE protocol requiredThis channel requires a client supporting E2EE via the DAVE Protocol
4020Bad requestYou sent a malformed request
4021Disconnected: Rate LimitedDisconnect due to rate limit exceeded. Should not reconnect.
4022Disconnected: Call TerminatedDisconnect all clients due to call terminated (channel deleted, voice server changed, etc.). Should not reconnect.
↑ ↓ navigate↵ open> commands/ focus filter

Appearance

Theme

Accent colour

Font

Density

Corners

Motion

Sidebar

Keyboard shortcuts

CtrlK
Search everything
>
In search: run a command (theme, density, copy URL…)
/
Filter the current list
W
Watch the current page
JK
Older, newer build (Shift: with notes)
[
Collapse or expand the sidebar
,
Appearance
?
Keyboard shortcuts
Esc
Close

Press G and then a letter to jump straight to a page

Overview

D
Dashboard
A
Activity
J
This week
Z
Daily digests
N
News
W
Watchlist
U
Status

Client

B
Builds
X
Compare builds
S
Strings
L
Client flags
M
Mobile builds
I
Release stats

Experiments & rollouts

E
Experiments
R
Rollouts

Developer API

C
API changelog
H
OpenAPI changes
Y
Endpoints
Q
Upcoming
P
API routes

Platform

V
Versions
K
Stickers
G
Games

Data & tools

T
Tools
F
Reference
O
Feeds & data

Keyboard shortcuts

CtrlK
Search everything
>
In search: run a command (theme, density, copy URL…)
/
Filter the current list
W
Watch the current page
JK
Older, newer build (Shift: with notes)
[
Collapse or expand the sidebar
,
Appearance
?
Keyboard shortcuts
Esc
Close

Press G and then a letter to jump straight to a page

Overview

D
Dashboard
A
Activity
J
This week
Z
Daily digests
N
News
W
Watchlist
U
Status

Client

B
Builds
X
Compare builds
S
Strings
L
Client flags
M
Mobile builds
I
Release stats

Experiments & rollouts

E
Experiments
R
Rollouts

Developer API

C
API changelog
H
OpenAPI changes
Y
Endpoints
Q
Upcoming
P
API routes

Platform

V
Versions
K
Stickers
G
Games

Data & tools

T
Tools
F
Reference
O
Feeds & data