apiCallValidationErrorMessages: {
    ADD_NODE_REQUIRES_NESTED_GROUP: string;
    DEVICE_LIST_REFRESH_REQUIRED: string;
    INVALID_ACTION_INDEX: string;
    INVALID_ACTION_TARGET: string;
    INVALID_EVENT_TYPE: string;
    INVALID_NODE_SCHEDULES: string;
    INVALID_SCHEDULE_ACTION: string;
    INVALID_SCHEDULE_ENABLED: string;
    INVALID_SCHEDULE_TRIGGERS: string;
    INVALID_SCHEDULES: string;
    INVALID_TS_WINDOW: string;
    MISSING_AUTOMATION_ACTIONS: string;
    MISSING_AUTOMATION_CONDITIONS: string;
    MISSING_AUTOMATION_ID: string;
    MISSING_AUTOMATION_NAME: string;
    MISSING_BASE_URL: string;
    MISSING_DELETE_ENDPOINT_PARAMS: string;
    MISSING_GROUP_ID: string;
    MISSING_GROUP_NAME: string;
    MISSING_GROUP_UPDATE_INFO: string;
    MISSING_NODE_ID: string;
    MISSING_NODE_LIST: string;
    MISSING_NODE_REF: string;
    MISSING_PARAMS: string;
    MISSING_SCHEDULE: string;
    MISSING_SCHEDULE_ID: string;
    MISSING_SECRET_KEY: string;
    MISSING_TRIGGER: string;
    MISSING_TRIGGER_ID: string;
    MISSING_TS_CUSTOM_KEY_DATA_TYPE: string;
    MISSING_TS_DATA_TYPE: string;
    MISSING_TS_START_TIME: string;
    MISSING_USER_ID: string;
    MISSING_USERNAME: string;
    NODE_ALREADY_IN_GROUP: string;
    NODE_CONFIG_UNRESOLVED: string;
    NODE_UNREACHABLE: string;
    SCHEDULE_ALREADY_EXISTS: string;
    SCHEDULE_NODE_NOT_FOUND: string;
    SCHEDULE_NOT_FOUND: string;
    TRIGGER_ALREADY_EXISTS: string;
    TRIGGER_NOT_FOUND: string;
    TS_PARAM_NOT_FOUND: string;
    USE_LEAVE_FOR_CURRENT_USER: string;
} = ...

Contains validation error messages for API calls.

These messages are used to inform users when required API parameters are missing or invalid.

Type declaration

  • ADD_NODE_REQUIRES_NESTED_GROUP: string

    Error message indicating addNode was called on a root group.

  • DEVICE_LIST_REFRESH_REQUIRED: string

    Error message indicating that a device list refresh is required.

  • INVALID_ACTION_INDEX: string

    Error message indicating that the automation action index is invalid.

  • INVALID_ACTION_TARGET: string

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

  • INVALID_EVENT_TYPE: string

    Error message indicating that a event type is invalid.

  • INVALID_NODE_SCHEDULES: string

    Error message indicating that the nodeSchedules argument is not an array.

  • INVALID_SCHEDULE_ACTION: string

    Error message indicating that schedule.action is missing or not an object.

  • INVALID_SCHEDULE_ENABLED: string

    Error message indicating that schedule.enabled is missing or not a boolean.

  • INVALID_SCHEDULE_TRIGGERS: string

    Error message indicating that schedule.triggers is missing or not an array.

  • INVALID_SCHEDULES: string

    Error message indicating that the schedules argument is not an array.

  • INVALID_TS_WINDOW: string

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

  • MISSING_AUTOMATION_ACTIONS: string

    Error message indicating that the automation actions are missing.

  • MISSING_AUTOMATION_CONDITIONS: string

    Error message indicating that the automation conditions are missing.

  • MISSING_AUTOMATION_ID: string

    Error message indicating that the automation ID is missing.

  • MISSING_AUTOMATION_NAME: string

    Error message indicating that the automation name is missing.

  • MISSING_BASE_URL: string

    Error message indicating that the base URL is missing.

  • MISSING_DELETE_ENDPOINT_PARAMS: string

    Error message indicating that device token or endpoint is missing for delete endpoint operation.

  • MISSING_GROUP_ID: string

    Error message indicating that the group ID is missing.

  • MISSING_GROUP_NAME: string

    Error message indicating that the group name is missing.

  • MISSING_GROUP_UPDATE_INFO: string

    Error message indicating that update information for the group is missing.

  • MISSING_NODE_ID: string

    Error message indicating that the node ID is missing.

  • MISSING_NODE_LIST: string

    Error message indicating that the node list is missing.

  • MISSING_NODE_REF: string

    Error message indicating that the parent node reference has been garbage collected.

  • MISSING_PARAMS: string

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

  • MISSING_SCHEDULE: string

    Error message indicating that the schedule item is missing or invalid.

  • MISSING_SCHEDULE_ID: string

    Error message indicating that the schedule id is missing or empty.

  • MISSING_SECRET_KEY: string

    Error message indicating that the secret key is missing.

  • MISSING_TRIGGER: string

    Error message indicating that the trigger item is missing or invalid.

  • MISSING_TRIGGER_ID: string

    Error message indicating that the trigger ID is missing or empty.

  • MISSING_TS_CUSTOM_KEY_DATA_TYPE: string

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

  • MISSING_TS_DATA_TYPE: string

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

  • MISSING_TS_START_TIME: string

    Error message indicating that startTs is missing for a raw time-series query.

  • MISSING_USER_ID: string

    Error message indicating the user ID is missing.

  • MISSING_USERNAME: string

    Error message indicating the username is missing for group sharing.

  • NODE_ALREADY_IN_GROUP: string

    Error message indicating the node is already in the group.

  • NODE_CONFIG_UNRESOLVED: string

    Error message indicating the node config could not be resolved.

  • NODE_UNREACHABLE: string

    Error message indicating that a node is unreachable.

  • SCHEDULE_ALREADY_EXISTS: string

    Error message indicating that a schedule with the same id already exists.

  • SCHEDULE_NODE_NOT_FOUND: string

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

  • SCHEDULE_NOT_FOUND: string

    Error message indicating that the schedule was not found on the node.

  • TRIGGER_ALREADY_EXISTS: string

    Error message indicating that a trigger with the same id already exists.

  • TRIGGER_NOT_FOUND: string

    Error message indicating that the trigger was not found on the node.

  • TS_PARAM_NOT_FOUND: string

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

  • USE_LEAVE_FOR_CURRENT_USER: string

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