ENUM

CreateScheduleSegmentErrorCode

The possible errors when creating a schedule segment.

link GraphQL Schema definition

1enum CreateScheduleSegmentErrorCode {
2
3# Not authorized to edit this user schedule.
4PERMISSION_DENIED
5
6# The schedule to create a segment for was not found.
7NOT_FOUND
8
9# The number of categories is invalid. Refer to the error for min and max
10# acceptable values.
11INVALID_CATEGORY_COUNT
12
13# The segment time overlaps with another segment time.
14OVERLAPPING_SEGMENTS
15
16# The title length is invalid. Refer to the error for min and max acceptable
17# values.
18INVALID_TITLE
19
20# The title failed the moderation check.
21TITLE_FAILED_MODERATION
22
23# The timezone is not valid.
24INVALID_TIMEZONE
25
26# The category is not valid.
27INVALID_CATEGORIES
28
29# The the start day is not valid.
30INVALID_START_DAY
31
32# The start hour is not valid.
33INVALID_START_HOUR
34
35# The start minute is not valid.
36INVALID_START_MINUTE
37
38# The duration is invalid. Refer to the error for min and max acceptable values.
39INVALID_DURATION
40
41# The segment is invalid.
42INVALID_SEGMENT
43
44# The input is not valid.
45INVALID_ARGUMENT
46
47# The number of segments is invalid. Refer to the error for min and max acceptable
48# values.
49INVALID_SEGMENT_COUNT
50
51# The count for the number of times segment should repeat is invalid. The value
52# must be 0 or greater.
53REPEAT_ENDS_AFTER_COUNT_INVALID
54
55# The segment first occurrence date is set in the past.
56FIRST_OCCURRENCE_DATE_IN_PAST
57}