tencent cloud

数据开发治理平台 WeData

产品动态
动态发布记录(2026年)
产品简介
产品概述
产品优势
产品架构
产品功能
应用场景
购买指南
计费概述
产品版本购买说明
执行资源购买说明
购买方式
欠费说明
退费说明
准备工作
账号和权限管理概述
添加白名单/安全组(可选)
通过 Microsoft Entra ID(Azure AD)单点登录(SSO)WeData
操作指南
管理控制台
项目管理
数据集成
Studio
数据开发
数据分析
数据科学
数据治理(with Unity Semantics)
API 文档
History
Introduction
API Category
Making API Requests
Smart Ops Related Interfaces
Project Management APIs
Resource Group APIs
Data Development APIs
Data Asset - Data Dictionary APIs
Data Development APIs
Ops Center APIs
Data Operations Related Interfaces
Data Exploration APIs
Asset APIs
Metadata Related Interfaces
Task Operations APIs
Data Security APIs
Instance Operation and Maintenance Related Interfaces
Data Map and Data Dictionary APIs
Data Quality Related Interfaces
DataInLong APIs
Platform Management APIs
Data Source Management APIs
Data Quality APIs
Platform Management APIs
Asset Data APIs
Data Source Management APIs
Data Types
Error Codes
WeData API 2025-08-06
服务等级协议
相关协议
隐私协议
数据处理和安全协议
联系我们
词汇表

DiagnosePro

聚焦模式
字号
最后更新时间: 2025-11-13 20:55:47

1. API Description

Domain name for API request: wedata.intl.tencentcloudapi.com.

Instance diagnosis for diagnosing instances in INITIAL, DEPENDENCE, ALLOCATED, LAUNCHED, EVENT_LISTENING, BEFORE_ASPECT, EXPIRED, FAILED states

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DiagnosePro.
Version Yes String Common Params. The value used for this API: 2021-08-20.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
Instances.N No Array of InstanceOpsDto Instance List
CheckFather No Boolean Check Parent Task Type, true: Check parent task; false: Do not check parent task
RerunType No String Rerun Type, 1: Self; 3: Child; 2: Self and Child
DependentWay No String Instance Dependency Mode, 1: Self-dependent; 2: Task-dependent; 3: Self and Parent-Child dependent
SkipEventListening No Boolean Rerun Ignore Event Listening or Not
SonInstanceType No String Downstream Instance Range 1: Within the workflow 2: Within the project 3: Across all workflows dependent on the project
SearchCondition No InstanceApiOpsRequest Query Conditions (TaskId and CurRunDate need to be filled in this field for diagnosis)
OptType No String Access type
OperatorName No String Operator Name
OperatorId No String Operator ID
ProjectId No String Project ID
ProjectIdent No String Project Identifier
ProjectName No String Project name
PageIndex No Integer Index Page Number
PageSize No Integer Page size
Count No Integer Total Data
RequestBaseInfo No ProjectBaseInfoOpsRequest Basic Request Information
IsCount No Boolean Whether to Calculate Total

3. Output Parameters

Parameter Name Type Description
Data DiagnoseRep Result
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Instance Diagnosis

Instance Operation and Maintenance-Instance Diagnosis

Input Example

POST / HTTP/1.1
Host: wedata.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DiagnosePro
<Common request parameters>

{
    "ProjectId": "155477816884",
    "SearchCondition": {
        "Instance": {
            "TaskId": "20240228175802766",
            "CurRunDate": "2024-04-11 05:00:00"
        }
    }
}

Output Example

{
    "Response": {
        "Data": {
            "Content": {
                "Diagnose": "Task concurrency judgment failed, instance: 20240228175802766_2024-04-11 11:35:00",
                "Operation": "Generally, no action is required, wait for the platform to schedule automatically.",
                "Reason": "When the task's self-dependency property is set to unordered serial, the task instances are processed one by one in an unordered manner, other instances will queue up and wait",
                "TaskId": "20240228175802766",
                "TaskName": "geehivesql",
                "Url": ""
            },
            "Table": {
                "Column": [],
                "Data": []
            }
        },
        "RequestId": "c7083b20-a691-4aa3-bb5c-d2a6ef2bd45e"
    }
}

Example2 Instance Diagnosis Example

Instance Diagnosis

Input Example

POST / HTTP/1.1
Host: wedata.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DiagnosePro
<Common request parameters>

{
    "SearchCondition": {
        "Instance": {
            "TaskId": "20240307211852581",
            "CurRunDate": "2024-04-10 00:00:00"
        }
    },
    "ProjectId": "1492511691706699776"
}

Output Example

{
    "Response": {
        "Data": {
            "Content": {
                "Diagnose": "This instance failed to execute",
                "Operation": "Investigate the cause of failure in conjunction with the running log",
                "Reason": "There were abnormalities in the user code and execution environment",
                "TaskId": "20240307211852581",
                "TaskName": "python_task_failed",
                "Url": ""
            },
            "Table": {
                "Column": [],
                "Data": []
            }
        },
        "RequestId": "cf111dff-a9c3-407d-83b5-d9424da7af12"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation Operation Failure.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈