request:fail url not in domain list

Error message: request: fail url not in domain list

Cause: The domain name server is not configured

Solution is as follows:

(1) Reference solutions official documentation provided (ie configuration corresponding domain name)
https://developers.weixin.qq.com/miniprogram/dev/framework/ability/network.html

(2) can click on the upper right corner details Developer Tools - Project settings - does not verify the legal domain name, web-view (domain name service), TLS and HTTPS certificate version, or to see whether the domain name information configured for a variety of legitimate domain name. )
As shown below:

References are as follows:
a small program run error: errMsg: "request: fail url not in domain list"
applet VM144: 1 request: fail url not in domain list

Guess you like

Origin www.cnblogs.com/youcong/p/10991810.html