ENUM

UpdateCommunityPointsAutomaticRewardErrorCode

The possible reasons updating an automatic Community Points reward in a channel could fail.

link GraphQL Schema definition

1enum UpdateCommunityPointsAutomaticRewardErrorCode {
2
3# An unexpected error occurred.
4UNKNOWN
5
6# The current user is not allowed to update a reward in this channel.
7FORBIDDEN
8
9# The cost is below the minimum.
10COST_TOO_LOW
11
12# The cost is invalid. Must be a positive integer.
13COST_INVALID
14
15# The background color is invalid. Backgrounds must be a valid hex color, for
16# example "FF0000".
17BACKGROUND_COLOR_INVALID
18}