You need to enable JavaScript to run this app.
RDS for MySQL

RDS for MySQL

Copy page
Download PDF
Managing connections
CreateDiagnosticsTask
Copy page
Download PDF
CreateDiagnosticsTask
Call the CreateDiagnosticsTask API to perform connection diagnostics for an instance.​
Request type​
Asynchronous request.​
Precautions​
Ensure that diagnostic items have been added to the instance before starting the connection diagnosis. To add diagnostic items, call the AddDiagnosticsEntity API.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
​
Parameter​
Type​
Is it required?​
Sample value​
Description​
InstanceId​
String​
Yes​
mysql-db6d920e****​
Instance ID.​
​
Response parameter​
null​
Sample​
Sample request​
​
POST /?Action=CreateDiagnosticsTask&Version=2022-01-01 HTTP/1.1​
Content-Type: application/json​
Host: rds-mysql.cn-beijing.volcengineapi.com​
X-Date: 20211202T101010Z​
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****​
{​
"InstanceId": "mysql-db6d920e****"​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"Action": "CreateDiagnosticsTask",​
"Region": "cn-north-1",​
"Service": "rds_mysql",​
"Version": "2022-01-01",​
"RequestId": "20230604110420****100232280022D31"​
},​
"Result": null​
}​
​
Error code​
For more details, refer to Error codes.​
Last updated: 2026.06.12 17:17:52