Skip to main content

TASK ERROR NOTIFICATION PAYLOAD

Introduced or updated: v1.2.371

The payload body for task error notification.

NOTICE: this functionality works out of the box only in Databend Cloud.

The following is a sample message payload describing a task error. The payload can include one or more error messages.

{
"version": "1.0",
"messageId": "8389a9c7-7263-4f92-a44a-ba0e23b005cb",
"messageType": "TASK_FAILED",
"timestamp": "2024-03-11T10:19:23.965382326Z",
"tenantId": "tnc7yee14",
"taskName": "notification_n2",
"taskId": "56",
"rootTaskName": "notification_n2",
"rootTaskId": "56",
"runId": "unknown",
"scheduledTime": "2024-03-11T10:19:23.963349422Z",
"queryStartTime": "2024-03-11T10:19:23.850156389Z",
"completedTime": "2024-03-11T10:19:23.963348812Z",
"queryId": "2424b81e-f489-491b-bbab-e3556a27f867",
"errorKind": "UnexpectedError",
"errorCode": "500",
"errorMessage": "query sync failed: All attempts fail: #1: query error: code: 1006, message: divided by zero while evaluating function divide(1, 0)"
}
Did this page help you?
Yes
No