ChatErrorCode enum Null safety

Complete list of errors that are returned by the API together with the description and API code.



accessKeyError → const ChatErrorCode

Access Key invalid

const ChatErrorCode(14)
appSuspended → const ChatErrorCode

App suspended

const ChatErrorCode(16)
authenticationError → const ChatErrorCode

Unauthenticated, problem with authentication

const ChatErrorCode(9)
channelFeatureNotSupported → const ChatErrorCode

The feature is currently disabled on the dashboard (i.e. Reactions & Replies)

const ChatErrorCode(5)
cooldownError → const ChatErrorCode

User tried to post a message during the cooldown period

const ChatErrorCode(17)
customCommandEndpointCall → const ChatErrorCode

Custom Command handler returned an error

const ChatErrorCode(7)
customCommandEndpointMissing → const ChatErrorCode

App config does not have custom_action_handler_url

const ChatErrorCode(8)
doesNotExist → const ChatErrorCode

Resource not found

const ChatErrorCode(18)
duplicateUsername → const ChatErrorCode

Duplicate username is sent while enforce_unique_usernames is enabled

const ChatErrorCode(2)
eventNotSupported → const ChatErrorCode

Event is not supported

const ChatErrorCode(4)
inputError → const ChatErrorCode

Wrong data/parameter is sent to the API

const ChatErrorCode(1)
internalSystemError → const ChatErrorCode

Something goes wrong in the system

const ChatErrorCode(23)
maximumHeaderSizeExceeded → const ChatErrorCode

Request headers are too large

const ChatErrorCode(22)
messageTooLong → const ChatErrorCode

Message is too long

const ChatErrorCode(3)
multipleNestling → const ChatErrorCode

Multiple Levels Reply is not supported the API only supports 1 level deep reply threads

const ChatErrorCode(6)
noAccessToChannels → const ChatErrorCode

No access to requested channels

const ChatErrorCode(24)
notAllowed → const ChatErrorCode

Unauthorised / forbidden to make request

const ChatErrorCode(15)
payloadTooBig → const ChatErrorCode

Payload too big

const ChatErrorCode(20)
rateLimitError → const ChatErrorCode

Too many requests in a certain time frame

const ChatErrorCode(21)
requestTimeout → const ChatErrorCode

Request timed out

const ChatErrorCode(19)
tokenBeforeIssuedAt → const ChatErrorCode

Unauthenticated, token date incorrect

const ChatErrorCode(11)
tokenExpired → const ChatErrorCode

Unauthenticated, token expired

const ChatErrorCode(10)
tokenNotValid → const ChatErrorCode

Unauthenticated, token not valid yet

const ChatErrorCode(12)
tokenSignatureInvalid → const ChatErrorCode

Unauthenticated, token signature invalid

const ChatErrorCode(13)
undefinedToken → const ChatErrorCode

Unauthenticated, token not defined

const ChatErrorCode(0)
values → const List<ChatErrorCode>

A constant List of the values in this enum, in order of their declaration.

const List<ChatErrorCode>


hashCode int
The hash code for this object. [...]
read-only, inherited
index int
A numeric identifier for the enumerated value. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]