Home  >  Article  >  WeChat Applet  >  Summary of common error messages in WeChat public account development and configuration

Summary of common error messages in WeChat public account development and configuration

小云云
小云云Original
2017-12-06 14:29:566229browse

WeChat is now essential in our lives. Many companies now require technicians to develop WeChat official accounts or WeChat applets, but we will encounter many problems during the development process. In this article, we will share WeChat official accounts with you. A summary of common error messages in development configuration, I hope it can help everyone.

system error

{"errcode":-1,"errmsg":"system error"}

Public accounts can use AppID and AppSecret to call this interface to obtain access_token. AppID and AppSecret can be obtained on the "WeChat Public Platform-Development-Basic Configuration" page (you need to be a developer and the account has no abnormal status). When calling the interface, please log in to "WeChat Public Platform - Development - Basic Configuration" to add the server IP address to the IP whitelist in advance, and click to view the setting method, otherwise the call will not be successful.
Official website document description

invalid weapp appid hint: [oBXiOA0260vr24]

{
    "errcode": 40166, 
    "errmsg": "invalid weapp appid hint: [oBXiOA0260vr24]"
}

To add a WeChat applet to the custom menu, you need to correctly set the appid of the applet.

system error

{"errcode":-1,"errmsg":"system error"}

Public accounts can use AppID and AppSecret to call this interface to obtain access_token. AppID and AppSecret can be obtained on the "WeChat Public Platform-Development-Basic Configuration" page (you need to be a developer and the account has no abnormal status). When calling the interface, please log in to "WeChat Public Platform - Development - Basic Configuration" to add the server IP address to the IP whitelist in advance, and click to view the setting method, otherwise the call will not be successful.
Official website document description

invalid weapp appid hint: [oBXiOA0260vr24]

{
    "errcode": 40166, 
    "errmsg": "invalid weapp appid hint: [oBXiOA0260vr24]"
}

To add a WeChat applet to the custom menu, you need to correctly set the appid of the applet.

The above content is a summary of common error messages in the development and configuration of WeChat public accounts. I hope it will be helpful to everyone.

Related recommendations:

PHP code to implement the custom menu interface in WeChat public account enterprise account

Details of WeChat public account development Introducing

php Chinese website WeChat official account to use the correct posture! Get resources you never thought possible!

The above is the detailed content of Summary of common error messages in WeChat public account development and configuration. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn