ENUM
MakePredictionErrorCode
Possible error codes from the makePrediction mutation.
link GraphQL Schema definition
1 enum MakePredictionErrorCode { 2 3 # The current user is forbidden from making a Prediction on this Prediction Event. 4 5 6 # The provided event ID or outcome ID does not exist. 7 8 9 # This Prediction Event is no longer actively accepting predictions. 10 11 12 # The client is retrying with a transaction id that has already been used. 13 14 15 # The client is retrying with a transaction id that is currently being processed 16 # in another request. 17 18 19 # The user does not have enough points to make this prediction. 20 21 22 # Making this prediction would bring the user's total amount spent on this 23 # prediction above the maximum. 24 25 26 # The user has already made a prediction on a different Outcome, so this 27 # prediction cannot be made. 28 29 30 # The user is restricted from full participation because their geographic location 31 # has a blanket ban on Prediction participation. 32 33 34 # The user must accept the Predictions Terms of Service. 35 36 37 # The user's request was rate limited. They can try again after a few seconds. 38 39 40 # The user is restricted from full participation because their geographic location 41 # has a ban on Predictions for the specific game/category being played. 42 43 44 # The user is restricted from full participation because they have the ability to 45 # manage Predictions on this channel. 46 47 48 # The user attempted to make a Prediction in Spectator Mode but is ineligible for 49 # that mode. 50 51 52 # The user attempted to make a Prediction in Spectator Mode but has already made 53 # one on this Event. 54 55 56 # An unknown error occurred. 57 58 }