ENUM

RedeemCommunityPointsCustomRewardErrorCode

The possible reasons redeeming a custom Community Points reward in a channel could fail.

link GraphQL Schema definition

1enum RedeemCommunityPointsCustomRewardErrorCode {
2
3# The reward was not found.
4NOT_FOUND
5
6# The current user is not allowed to redeem this reward in this channel.
7FORBIDDEN
8
9# The user does not have sufficient points to redeem the reward.
10NOT_ENOUGH_POINTS
11
12# The client-provided properties (title, cost, or prompt) did not match the
13# reward's true properties.
14PROPERTIES_MISMATCH
15
16# The client is retrying a redemption with a transaction id that has already been
17# redeemed.
18DUPLICATE_TRANSACTION
19
20# The client is retrying a redemption with a transaction id that is currently
21# being redeemed in another request.
22TRANSACTION_IN_PROGRESS
23
24# The reward is disabled.
25DISABLED
26
27# The stream is not live.
28STREAM_NOT_LIVE
29
30# The reward has hit its maximum number of redemptions per stream.
31MAX_PER_STREAM
32
33# The user is banned and cannot redeem rewards.
34USER_BANNED
35
36# The redemption message contained a blocked phrase.
37CHANNEL_SETTINGS
38
39# The redemption message starts with a '/' like a chat command.
40MESSAGE_IS_COMMAND
41
42# An unknown error occurred.
43UNKNOWN
44
45# The reward has hit its maximum number of redempetions per user per stream.
46MAX_PER_USER_PER_STREAM
47
48# The reward is currently under a cooldown.
49GLOBAL_COOLDOWN
50}