Javascript-WeChat development, subscription number, return code problems?

Source: Internet
Author: User
The access_token is correctly obtained for public account development. You can call the Server IP address Retrieval Interface normally. When you call the custom menu creation and custom menu retrieval interfaces, the prompt [& quot; errcode & quot;] appears. & amp; gt; int (48001) to explain the reason, whether to call the missing parameter or the subscription number does not have this connection...

Public Account development. access_token is obtained correctly. You can call the Server IP address Retrieval Interface normally. When you call the custom menu creation and custom menu retrieval interfaces, the message ["errcode"] => int (48001) is displayed)

The reason is that the API does not have the permission to call a parameter or the subscription number.

Reply content:

Public Account development. access_token is obtained correctly. You can call the Server IP address Retrieval Interface normally. When you call the custom menu creation and custom menu retrieval interfaces, the message ["errcode"] => int (48001) is displayed)

The reason is that the API does not have the permission to call a parameter or the subscription number.

The subscription number does not have the menu-related api call permission. The service number can

There is an interface return code description in the development documentation, which has a specific Chinese explanation:
48001 the api function is not authorized. Check that the public account has obtained this interface. You can view the interface permissions on the official website of the public platform-Developer Center page.
You should know it now.

Well, the subscription account has limited permissions. If you develop more functions, you can either apply for a service account or have a test account to meet your needs.

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.