ENUM
VoteInPollErrorCode
Vote in poll error code.
link GraphQL Schema definition
1 enum VoteInPollErrorCode { 2 3 # User tried to vote in a poll that doesn't exist i.e. there is no poll running at 4 # all). 5 6 7 # User tried to vote in a poll that is not active. 8 9 10 # Request has a vote ID that is in progress or has already been submitted. 11 12 13 # User is trying to vote for another choice in a poll that only allows one choice. 14 15 16 # Request is for a channel ID that is invalid (e.g. banned channel, channel 17 # doesn't exist). 18 19 20 # Request is for a choice index that is invalid (e.g. there are 3 choices and the 21 # request is for index 10). 22 23 24 # Request is for a choice ID that invalid. 25 26 27 # Request is for an invalid bits amount (e.g. -100 bits, or request is not for a 28 # multiple of the Bits cost). 29 30 31 # Request is for an invalid Community Points amount (e.g. -100 Points, or request 32 # is not for a multiple of the Points cost). 33 34 35 # User's bits balance is too low to perform request (e.g. they only have 10 bits 36 # and they request to spend 100). 37 38 39 # Users's Community Points balance is too low to perform request (e.g. they only 40 # have 10 points and they request to spend 100). 41 42 43 # User has already used their base votes, so in order to continue voting, they 44 # must use tokens (bits or channel points). 45 46 47 # User is not allowed to vote in poll (e.g. they're banned in the channel). 48 49 50 # User is not allowed to vote in their own poll with bits. 51 52 53 # User cannot vote because they have hit a per-user or per-poll rate limit. The 54 # user can try again later. 55 56 57 # An unknown error occurred. 58 59 }