All Products
Search
Document Center

CDN:GenerateCdnDiagnose

Last Updated:May 11, 2026

Generates a diagnostic link for a URL.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Url

string

No

The URL to be diagnosed.

http://www.example.com/xxx.jpg

Response elements

Element

Type

Description

Example

object

The returned data.

RequestId

string

The ID of the request.

64D28B53-5902-409B-94F6-FD46680144FE

Content

string

The diagnostic link.

http://cdn.dns-detect.alicdn.com/diagnose/?id=xxxxxxx

Examples

Success response

JSON format

{
  "RequestId": "64D28B53-5902-409B-94F6-FD46680144FE",
  "Content": "http://cdn.dns-detect.alicdn.com/diagnose/?id=xxxxxxx"
}

Error codes

HTTP status code

Error code

Error message

Description

400 DomainError Sandbox domain The domain name is added to the sandbox.
400 NoDomianPermission The AliUid does not have permission for the domain. aliuid does not have permissions on this domain name.
400 CnameError Unmatched CNAME. cname is not matched.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.