Set custom 404 page redirect for a CDN domain.

Request parameters

Parameters Type Required Example values Description
Action String Yes SetErrorPageConfig The name of this interface. Value: SetErrorPageConfig
DomainName String Yes. Your CDN domain name.
Pagetype String Yes. default

Error page type.  Value:

  • default: default page
  • charity: public welfare page
  • other: custom page
CustomPageUrl String No URL of the custom page for redirect after an error occurs (complete path under the CDN domain name).

Return parameters

Parameters Type Example values Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 Request ID


Request example
&Public request parameter
Normal return example
  • JSON format

Exception return example
  • JSON format

        "Message":"The request processing has failed due to some unknown error.",