Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
System → Push Error Message
AI-generatedOverview
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
- Sending an error notification when a document fails to save.
- 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.