SiYuan icon

SiYuan

Manage SiYuan notebooks, documents, blocks, attributes, and more. Designed for AI agent workflows.

System → Push Error Message

AI-generated

Overview

This node operation sends a push error message notification within the SiYuan system. It is useful for alerting users or workflows about errors or important issues that require immediate attention. For example, it can be used to notify a user when a critical failure occurs in a document processing workflow or when an automated task encounters an error.

Use Case Examples

  1. Sending an error notification when a document fails to save.
  2. Alerting a user about a system error during data synchronization.

Properties

Name Meaning
Message The text to display in the notification, describing the error or important information.
Timeout (Ms) Duration in milliseconds for how long the notification stays visible before disappearing.

Output

JSON

  • message - The text content of the error notification sent.
  • timeout - The duration the notification remains visible in milliseconds.

Dependencies

  • Requires SiYuan API URL and API token credentials for authentication.

Troubleshooting

  • Ensure that the SiYuan API URL and token credentials are correctly configured; missing or invalid credentials will cause the node to fail.
  • If the notification does not appear, verify that the message text is not empty and the timeout value is a positive number.
  • Common error messages include 'SiYuan API URL and Token are required' indicating missing credentials, and 'Unsupported resource' if the resource parameter is incorrect.

Discussion