If an error occurs when you are binding a custom domain name to a web application, the server returns an error message. This topic lists the common error codes returned in the process of binding a custom domain name to a web application, so that you can locate and resolve the corresponding problems.

Error code HTTP status code Error message Cause
DomainNameAlreadyExists 409 domain name '%s' already exists The error message returned because the domain name that you want to create already exists.
DomainNameNotFound 404 domain name '%s' does not exist The error message returned because the domain name that you want to query does not exist.
InvalidICPLicense 400 domain name '%s' has not got ICP license, or the ICP license does not belong to Aliyun The error message returned because the domain name has not been filed with an Internet Content Provider (ICP) license or its ICP filing information does not include Alibaba Cloud as a service provider.
DomainNameNotResolved 400 domain name '%s' has not been resolved to your FC endpoint, the expected endpoint is '%s' The error message returned because no CNAME has been configured for the domain name to point to the specified endpoint. You can check the CNAME settings by running the dig command or logging on to the DNS server.
DomainRouteNotFound 404 no route found in domain '%s' for path '%s' The error message returned because no to-be-triggered function is configured for the specified path.
TriggerNotFound 404 trigger 'http' does not exist in service '%s' and function '%s' The error message returned because no HTTP trigger is configured for the function bound to the custom domain name.

If your problem persists, Contact us.