API v10EnumerationsRPCCloseEventCodesVersion: 0.37.112On this pageRPCCloseEventCodes https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc-rpc-close-event-codesIndex Enumeration MembersInvalidClientIdInvalidEncodingInvalidOriginInvalidVersionRateLimitedTokenRevokedEnumeration Members InvalidClientIdInvalidClientId: 4000 = 4000InvalidEncodingInvalidEncoding: 4005 = 4005InvalidOriginInvalidOrigin: 4001 = 4001InvalidVersionInvalidVersion: 4004 = 4004RateLimitedRateLimited: 4002 = 4002TokenRevokedTokenRevoked: 4003 = 4003
https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc-rpc-close-event-codes