ENUM

UpdateScheduleSegmentErrorCode

The possible error returned.

link GraphQL Schema definition

1enum UpdateScheduleSegmentErrorCode {
2
3# Not authorized to update this segment.
4PERMISSION_DENIED
5
6# The number of categories is invalid. Refer to the error for min and max
7# acceptable values.
8INVALID_CATEGORY_COUNT
9
10# The specified segment could not be found.
11NOT_FOUND
12
13# No update was made because no updated attributes were provided.
14NO_UPDATED_ATTRIBUTES_PROVIDED
15
16# No update was made because the update would cause a segment overlap.
17OVERLAPPING_SEGMENTS
18
19# The title length is invalid. Refer to the error for min and max acceptable
20# values.
21INVALID_TITLE
22
23# The title failed the moderation check.
24TITLE_FAILED_MODERATION
25
26# The timezone is not valid.
27INVALID_TIMEZONE
28
29# The categories are not valid.
30INVALID_CATEGORIES
31
32# The segment start day is invalid.
33INVALID_START_DAY
34
35# The segment start hour is invalid.
36INVALID_START_HOUR
37
38# The segment start minute is invalid.
39INVALID_START_MINUTE
40
41# The duration is invalid. Refer to the error for min and max acceptable values.
42INVALID_DURATION
43
44# The segment is invalid.
45INVALID_SEGMENT
46
47# The input is not valid.
48INVALID_ARGUMENT
49
50# The segment first occurrence date is set in the past.
51FIRST_OCCURRENCE_DATE_IN_PAST
52
53# Cannot set the first occurrence date on an infinitely recurring segment.
54FIRST_OCCURRENCE_DATE_ON_RECURRING_SEGMENT
55
56# The segment has already started and can't be edited.
57ALREADY_STARTED
58}