FeedsError enum

Enumerates the list of errors that are returned by the API.

Each error is documented with the associated http error code, description, and Stream Code.

Inheritance

Constructors

FeedsError()
const

Values

pagination → const FeedsError

Bad request (http 400).

Pagination error.

Has a Stream error code of 4.

input → const FeedsError

Bad request (http 400).

There is an error with the user input data.

Has a Stream error code of 4.

feedConfig → const FeedsError

Bad request (http 400).

Missing or mis-configured feed.

Has a Stream error code of 6.

missingUser → const FeedsError

Bad request (http 400).

Missing user in request payload.

Has a Stream error code of 10.

ranking → const FeedsError

Bad request (http 400).

Triggered when there is an issue with ranking the feed.

Has a Stream error code of 11.

missingRanking → const FeedsError

Bad request (http 400).

The ranking isn't configured for the given feed.

Has a Stream error code of 12.

missingActivity → const FeedsError

Bad request (http 400).

The activity doesn't exist.

Has a Stream error code of 13.

aggregation → const FeedsError

Bad request (http 400).

The aggregation format isn't correct.

Has a Stream error code of 14.

accessKey → const FeedsError

Unauthorized (http 401).

Triggered when the API key is invalid.

Has a Stream error code of 2.

signature → const FeedsError

Unauthorized (http 401).

The payload signature is invalid.

Has a Stream error code of 3.

authenticationFailed → const FeedsError

Unauthorized (http 401).

The payload signature is invalid.

Has a Stream error code of 3.

appSuspended → const FeedsError

Unauthorized (http 401).

The app is suspended.

Has a Stream error code of 7.

notAllowed → const FeedsError

Forbidden (http 403).

Requested action is not allowed.

Has a Stream error code of 17.

doesNotExist → const FeedsError

Not found (http 404).

Resource not found.

Has a Stream error code of 16.

methodNotAllowed → const FeedsError

Method not allowed (http 405).

The requested method is not allowed.

Has a Stream error code of 17.

conflict → const FeedsError

Conflict (http 409).

There is a conflict (e,g. when trying to create an existing resource).

Has a Stream error code of 22.

inputErrorBodySizeExceeded → const FeedsError

Requested entity too large (http 413).

Input body size limit exceeded.

Has a Stream error code of 18.

rateLimit → const FeedsError

Too many requests (http 429).

Rate limit reached.

Has a Stream error code of 9.

internalSystem → const FeedsError

Internal Server Error (http 429).

Triggered when something goes wrong in our system.

Has a Stream error code of -1.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<FeedsError>
A constant List of the values in this enum, in order of their declaration.