Skip to main content

CreateSnapshotsError

One validation error returned by createSnapshots, updateSnapshot or resumeSnapshotsNew.

type CreateSnapshotsError {
index: Int
field: String
message: String!
args: String
}

Fields​

CreateSnapshotsError.index ● Int scalar​

Zero-based position of the item in params; null for shared-setting errors.

CreateSnapshotsError.field ● String scalar​

Input field name in camelCase; source_url is reported as siteUrl and URL-rule errors as matchingRule.

CreateSnapshotsError.message ● String! non-null scalar​

Machine message for branching. In settings, messages include required, invalid, regex_blank, wildcard_blank, regex_identical, wildcard_identical, invalid_rule, invalid_date, date_exceeds, date_in_past, dates_incongruent, at_least, at_most, cannot_set_reoccurring and cannot_unset_reoccurring.

CreateSnapshotsError.args ● String scalar​

JSON-encoded object of details for message, for example {"kind":"greater_than_or_equal_to","number":2,"validation":"number"} for at_least. Useful keys are number for at_least and at_most, count for too_long, device for tracking_mismatch and domain for denied; {} when there are none.

Member Of​

CreateSnapshotsErrors object