WeChat mini-app legal domain name verification error details and solutions, mini-app Verification

Source: Internet
Author: User

Explanation and solution for errors in the verification of valid domain names of applets and verification of applets

Explanation and solution for errors in checking valid domain names of applets

See the error:

What should I do if I encounter this problem during applet development?

The cause is that the wx. request is initiated.

The requested domain name is not set in the background of the public platform.

1. manually set by the developer without verification

No matter whether you get the App ID or not, I believe many people will do the same thing as me, that is, they will first get to know the document, then go to github to find a project, and try importing it. When I did this, I reported this error. Later I found that I could set up a local development tool without verifying the domain name.
Select the last option in "project" and then run it.

2. The administrator sets the actual project domain name.

For actual project development, the administrator needs to set it up first.

The procedure is as follows:

1. log on to the background of the Applet as an administrator

Address: http://mp.weixin.qq.com

2. Set the domain name to be requested to be a valid Domain Name

Note: You can enter multiple valid request domain names. If you already have other domain names, add one.

:

Note: after the request security domain name is saved and submitted, it will be cached for a period of time. After about 10 minutes, the request legal domain name will take effect.

Thank you for reading this article. I hope it will help you. Thank you for your support for this site!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.