Skip to main content

Variable: SERVER_ERROR_CODES

const SERVER_ERROR_CODES: object

Defined in: src/Utils/decode-wa-message.ts:84

Server-side error codes returned in ack stanzas (server → client) that we currently have dedicated handlers for. Extend as more handlers are added. Distinct from the client-side NackReason enum (WAWebCreateNackFromStanza).

Type declaration

MissingTcToken

readonly MissingTcToken: "463" = '463'

1:1 message missing privacy token (tctoken)

SmaxInvalid

readonly SmaxInvalid: "479" = '479'

Stanza validation failure (SMAX_INVALID) — likely stale device session