ChatErrorCode enum
Complete list of errors that are returned by the API together with the description and API code.
Constructors
- ChatErrorCode()
-
const
Values
- undefinedToken → const ChatErrorCode
-
Unauthenticated, token not defined
- inputError → const ChatErrorCode
-
Wrong data/parameter is sent to the API
- duplicateUsername → const ChatErrorCode
-
Duplicate username is sent while enforce_unique_usernames is enabled
- messageTooLong → const ChatErrorCode
-
Message is too long
- eventNotSupported → const ChatErrorCode
-
Event is not supported
- channelFeatureNotSupported → const ChatErrorCode
-
The feature is currently disabled on the dashboard (i.e. Reactions & Replies)
- multipleNestling → const ChatErrorCode
-
Multiple Levels Reply is not supported the API only supports 1 level deep reply threads
- customCommandEndpointCall → const ChatErrorCode
-
Custom Command handler returned an error
- customCommandEndpointMissing → const ChatErrorCode
-
App config does not have custom_action_handler_url
- authenticationError → const ChatErrorCode
-
Unauthenticated, problem with authentication
- tokenExpired → const ChatErrorCode
-
Unauthenticated, token expired
- tokenBeforeIssuedAt → const ChatErrorCode
-
Unauthenticated, token date incorrect
- tokenNotValid → const ChatErrorCode
-
Unauthenticated, token not valid yet
- tokenSignatureInvalid → const ChatErrorCode
-
Unauthenticated, token signature invalid
- accessKeyError → const ChatErrorCode
-
Access Key invalid
- notAllowed → const ChatErrorCode
-
Unauthorised / forbidden to make request
- appSuspended → const ChatErrorCode
-
App suspended
- cooldownError → const ChatErrorCode
-
User tried to post a message during the cooldown period
- doesNotExist → const ChatErrorCode
-
Resource not found
- requestTimeout → const ChatErrorCode
-
Request timed out
- payloadTooBig → const ChatErrorCode
-
Payload too big
- rateLimitError → const ChatErrorCode
-
Too many requests in a certain time frame
- maximumHeaderSizeExceeded → const ChatErrorCode
-
Request headers are too large
- internalSystemError → const ChatErrorCode
-
Something goes wrong in the system
- noAccessToChannels → const ChatErrorCode
-
No access to requested channels
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ChatErrorCode> - A constant List of the values in this enum, in order of their declaration.