ENUM

MakePredictionErrorCode

Possible error codes from the makePrediction mutation.

link GraphQL Schema definition

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