enum ValidationIssueTypeextension ValidationIssueType : Equatable, SendableThe possible validation issues that may occur.
-
Unknown issue type.
Declaration
Swift
case unknown -
The condition duration is outside the accepted range of 1-30 minutes.
Declaration
Swift
case conditionDurationOutOfRange(duration: Duration) -
The delay duration is outside the accepted range of 5 seconds to 24 hours.
Declaration
Swift
case delayDurationOutOfRange(duration: Duration) -
Declaration
Swift
case duplicateStarterNode(_ arg: DuplicateStarterNode) -
The expression contains an invalid number of arguments.
Declaration
Swift
case invalidArgumentCount(_ arg: InvalidArgumentCount) -
The
expectedBehaviorTypeproperty indicates the command ID belongs to other schemas.Declaration
Swift
case invalidCommand(commandID: String, expectedBehaviorType: String) -
The
secondsvalue must be in the range [-315,576,000,000, +315,576,000,000],Declaration
Swift
case invalidDuration(duration: Duration) -
The
expectedBehaviorTypeproperty indicates the event ID belongs to other schemas.Declaration
Swift
case invalidEvent(eventID: String, expectedBehaviorType: String) -
The expression uses an invalid operand.
Declaration
Swift
case invalidOperand(_ arg: InvalidOperand) -
Only one of the following fields is populated:
commandId,eventIdortraitId.Declaration
Swift
case invalidParameter(parameterName: String, id: BehaviorID) -
The trait is not found in the event schema. The
expectedBehaviorTypeproperty indicates that the trait ID belongs to other schemas.Declaration
Swift
case invalidTrait(traitID: String, expectedBehaviorType: String) -
The value is invalid.
Declaration
Swift
case invalidValue(value: AnyAutomationValue?) -
The
Selectflow node must be the first node in an automation.Declaration
Swift
case misplacedSelectFlow -
The
Starternode must be the first node in an automation or in aselectflow.Declaration
Swift
case misplacedStarterNode -
The automation graph is missing required field(s).
Declaration
Swift
case missingRequiredFields(missingFields: [String]) -
Required parameters are not set.
Declaration
Swift
case missingRequiredParameters(parameterNames: [String], id: BehaviorID) -
The node cannot be reached without a preceding
Starternode.Declaration
Swift
case missingStarterNode -
The automation has more than one
ManualStarternode.Declaration
Swift
case multipleManualStarters -
A reference used an inaccessible output.
Declaration
Swift
case outputNotAccessible(output: String) -
An output variable has been defined in multiple nodes with different types.
Declaration
Swift
case outputTypeMismatch(_ arg: OutputTypeMismatch) -
An output variable has been reinitialized in multiple nodes.
Declaration
Swift
case outputReinitialized(_ arg: OutputReinitialized) -
The attribute is not modifiable without a command using
write.Declaration
Swift
case readOnlyAttribute(traitID: String, attributeName: String) -
The suppression duration is outside the accepted range of 5 seconds to 24 hours.
Declaration
Swift
case suppressionDurationOutOfRange(duration: Duration) -
The attribute is not subscribable and therefore cannot be used in a
Starternode.Declaration
Swift
case unsubscribableAttribute(traitID: String, attributeName: String) -
The entity behavior type is not supported by the
Actionnode.Declaration
Swift
case unsupportedActionBehavior(behaviorType: String) -
This node type does not produce output.
Declaration
Swift
case unsupportedNodeOutput(nodeType: String) -
The operator is unknown or unspecified.
Declaration
Swift
case unsupportedOperator -
The entity behavior type is not supported by the
Starternode.Declaration
Swift
case unsupportedStarterBehavior(behaviorType: String) -
The entity behavior type is not supported by the
StateReadernode.Declaration
Swift
case unsupportedStateReaderBehavior(behaviorType: String) -
The sub-node type is not allowed inside the parent node.
Declaration
Swift
case unsupportedSubNodeType(parentNodeType: String, subNodeType: String) -
The arguments for the operator are not valid.
Declaration
Swift
case invalidArgumentsForOperator(_ arg: InvalidArgumentsForOperator) -
The condition type is not valid.
Declaration
Swift
case invalidConditionType(_ arg: InvalidConditionType) -
The entity expression type is not valid.
Declaration
Swift
case invalidDurationExpressionType(_ arg: InvalidDurationExpressionType) -
The entity expression type is not valid.
Declaration
Swift
case invalidEntityExpressionType(_ arg: InvalidEntityExpressionType) -
For example, if
varis anOnOfftrait type, because it hason_off attribute,var.on_offis a valid field select, whilevar.brightnesswould be an invalidFIELD_SELECT.Declaration
Swift
case invalidField(_ arg: InvalidField) -
The parameter value must not be null.
Declaration
Swift
case invalidNullParameterValue(field: AttributeID, expected: String) -
The parameter type is not valid.
Declaration
Swift
case invalidParameterType(field: AttributeID, actual: String, expected: String) -
The “reference,” which refers to output produced by a preceding node, is unknown.
Declaration
Swift
case invalidReference(_ arg: InvalidReference) -
The Entity (ID or name) does not exist or does not belong to the user.
Declaration
Swift
case invalidEntity(entityObjectID: String, entityType: String, invalidEntityReason: InvalidEntityReasonType) -
The command is not supported by the entity.
- commandID: The unique ID of the command.
- entityObjectID: The unique ID of the entity.
- entityType: the type of the entity.
- unsupportedReasons: The reasons why the command is not supported.
Declaration
Swift
case unsupportedEntityCommand(commandID: String, entityObjectID: String, entityType: String, unsupportedReasons: [UnsupportedCandidateReason]) -
The event is not supported by the entity.
Declaration
Swift
case unsupportedEntityEvent(eventID: String, entityObjectID: String, entityType: String, unsupportedReasons: [UnsupportedCandidateReason]) -
The parameter is not supported by the entity.
Declaration
Swift
case unsupportedEntityParameter(parameterName: String, fieldID: UInt32, behaviorID: BehaviorID, entityObjectID: String, entityType: String) -
unsupportedEntityParameterValue(parameterName:fieldID:behaviorID:entityObjectID:entityType:value:valueConstraint:)
The parameter value is not supported by the entity.
Declaration
Swift
case unsupportedEntityParameterValue(parameterName: String, fieldID: UInt32, behaviorID: BehaviorID, entityObjectID: String, entityType: String, value: AnyAutomationValue?, valueConstraint: Constraint?) -
The trait is not supported by the entity.
Declaration
Swift
case unsupportedEntityTrait(traitID: String, entityObjectID: String, entityType: String, unsupportedReasons: [UnsupportedCandidateReason]) -
The entity type is not supported by the entity.
Declaration
Swift
case unsupportedEntityType(entityType: String, entityObjectID: String, supportedTypes: [String]) -
The automation’s serialized form is larger than what is allowed by the abuse prevention config for the calling application.
Declaration
Swift
case automationTooLarge(byteCount: UInt64, byteCountLimit: UInt64) -
The automation has more nodes than allowed by the abuse prevention configuration for the calling application. For more information, refer to Resource limits.
Declaration
Swift
case tooManyNodes(nodeCount: UInt32, nodeCountLimit: UInt32) -
The expression has more operations than allowed by the abuse prevention configuration for the calling application.
Declaration
Swift
case tooManyOperations(operationCount: UInt32, operationCountLimit: UInt32)