An object containing error codes related to API call validation issues.

Enumeration Members

ADD_NODE_REQUIRES_NESTED_GROUP: "ADD_NODE_REQUIRES_NESTED_GROUP"

Error code indicating addNode was called on a root group.

DEVICE_LIST_REFRESH_REQUIRED: "DEVICE_LIST_REFRESH_REQUIRED"

Error code indicating the device list refresh is required.

INVALID_ACTION_INDEX: "INVALID_ACTION_INDEX"

Error code indicating the automation action index is invalid.

INVALID_ACTION_TARGET: "INVALID_ACTION_TARGET"

Error code indicating the action target is invalid or missing required fields.

INVALID_EVENT_TYPE: "INVALID_EVENT_TYPE"

Error code indicating invalid event type.

INVALID_NODE_SCHEDULES: "INVALID_NODE_SCHEDULES"

Error code indicating the nodeSchedules argument is not an array.

INVALID_SCHEDULE_ACTION: "INVALID_SCHEDULE_ACTION"

Error code indicating schedule.action is missing or not an object.

INVALID_SCHEDULE_ENABLED: "INVALID_SCHEDULE_ENABLED"

Error code indicating schedule.enabled is missing or not a boolean.

INVALID_SCHEDULE_TRIGGERS: "INVALID_SCHEDULE_TRIGGERS"

Error code indicating schedule.triggers is missing or not an array.

INVALID_SCHEDULES: "INVALID_SCHEDULES"

Error code indicating the schedules argument is not an array.

INVALID_TS_WINDOW: "INVALID_TS_WINDOW"

Error code indicating the time-series aggregation window is missing or invalid.

MISSING_AUTOMATION_ACTIONS: "MISSING_AUTOMATION_ACTIONS"

Error code indicating the automation actions are missing.

MISSING_AUTOMATION_CONDITIONS: "MISSING_AUTOMATION_CONDITIONS"

Error code indicating the automation conditions are missing.

MISSING_AUTOMATION_ID: "MISSING_AUTOMATION_ID"

Error code indicating the automation ID is missing.

MISSING_AUTOMATION_NAME: "MISSING_AUTOMATION_NAME"

Error code indicating the automation name is missing.

MISSING_BASE_URL: "MISSING_BASE_URL"

Error code indicating the base URL is missing.

MISSING_DELETE_ENDPOINT_PARAMS: "MISSING_DELETE_ENDPOINT_PARAMS"

Error code indicating the delete endpoint parameters are missing.

MISSING_GROUP_ID: "MISSING_GROUP_ID"

Error code indicating the group ID is missing.

MISSING_GROUP_NAME: "MISSING_GROUP_NAME"

Error code indicating the group name is missing.

MISSING_GROUP_UPDATE_INFO: "MISSING_GROUP_UPDATE_INFO"

Error code indicating the group update info is missing.

MISSING_NODE_ID: "MISSING_NODE_ID"

Error code indicating the node ID is missing.

MISSING_NODE_LIST: "MISSING_NODE_LIST"

Error code indicating the node list is missing.

MISSING_NODE_REF: "MISSING_NODE_REF"

Error code indicating the parent node WeakRef has been garbage collected.

MISSING_PARAMS: "MISSING_PARAMS"

Error code indicating setParams was called with an empty or missing params object.

MISSING_SCHEDULE: "MISSING_SCHEDULE"

Error code indicating the schedule item is missing or invalid.

MISSING_SCHEDULE_ID: "MISSING_SCHEDULE_ID"

Error code indicating the schedule id is missing or empty.

MISSING_SECRET_KEY: "MISSING_SECRET_KEY"

Error code indicating the secret key is missing.

MISSING_TRIGGER: "MISSING_TRIGGER"

Error code indicating the trigger item is missing or invalid.

MISSING_TRIGGER_ID: "MISSING_TRIGGER_ID"

Error code indicating the trigger ID is missing or empty.

MISSING_TS_CUSTOM_KEY_DATA_TYPE: "MISSING_TS_CUSTOM_KEY_DATA_TYPE"

Error code indicating options.dataType is missing for a custom time-series key.

MISSING_TS_DATA_TYPE: "MISSING_TS_DATA_TYPE"

Error code indicating the time-series param carries no data type.

MISSING_TS_START_TIME: "MISSING_TS_START_TIME"

Error code indicating the start time is missing for a raw time-series query.

MISSING_USER_ID: "MISSING_USER_ID"

Error code indicating the user ID is missing.

MISSING_USERNAME: "MISSING_USERNAME"

Error code indicating the username is missing for group sharing.

NODE_ALREADY_IN_GROUP: "NODE_ALREADY_IN_GROUP"

Error code indicating the node is already in the group.

NODE_CONFIG_UNRESOLVED: "NODE_CONFIG_UNRESOLVED"

Error code indicating the node config could not be resolved.

NODE_UNREACHABLE: "NODE_UNREACHABLE"

Error code indicating the node is unreachable.

SCHEDULE_ALREADY_EXISTS: "SCHEDULE_ALREADY_EXISTS"

Error code indicating a schedule with the same id already exists.

SCHEDULE_NODE_NOT_FOUND: "SCHEDULE_NODE_NOT_FOUND"

Error code indicating the schedule's node could not be resolved.

SCHEDULE_NOT_FOUND: "SCHEDULE_NOT_FOUND"

Error code indicating the schedule was not found on the node.

TRIGGER_ALREADY_EXISTS: "TRIGGER_ALREADY_EXISTS"

Error code indicating a trigger with the same id already exists.

TRIGGER_NOT_FOUND: "TRIGGER_NOT_FOUND"

Error code indicating the trigger was not found on the node.

TS_PARAM_NOT_FOUND: "TS_PARAM_NOT_FOUND"

Error code indicating the time-series param was not found on the node's config.

USE_LEAVE_FOR_CURRENT_USER: "USE_LEAVE_FOR_CURRENT_USER"

Error code indicating removeMember was called with the current-user alias.