Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.18 KB

File metadata and controls

35 lines (30 loc) · 1.18 KB
title TASK ERROR NOTIFICATION PAYLOAD
sidebar_position 10

import FunctionDescription from '@site/src/components/FunctionDescription';

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)"
}