Common Fixes for WeChat Mini Program Code Submission Failures

Updated: 2026-06-10

Note: The screenshots are preserved from the original document, so UI text inside images may still reflect the original screenshot language.

Overview

After a Mini Program has been developed and is ready to be published through the WeChat Mini Program channel, code submission may fail for several common reasons. This document lists the typical errors and gives recommended fixes. For issues that require code changes, you can adapt the provided prompt and send it to MeDo so it can modify the project.

Error 1: Authorization Error, Try Reauthorizing the Mini Program

There are two common cases.

Case 1: The third-party development platform is not authorized or has insufficient authorization

Authorization error caused by missing or insufficient third-party platform authorization

Fix

Scan the code and go to WeChat Open Platform > Management > Version Management > View Authorized Third-Party Platforms > Third-Party Settings > Third-Party Platform Authorization Management. Reauthorize the platform on the WeChat side. Do not authorize multiple platforms at the same time.

Third-party platform authorization management page in WeChat Open Platform

Case 2: A required plugin interface has not been enabled

Authorization error for a required plugin interface

Fix

Scan the code and go to WeChat Open Platform > Management > Development Management > Interface Settings. Enable the interface named in the error message. For example, if the error says error [getFuzzyLocation] is not authorized, enable the wx.getFuzzyLocation interface.

Interface settings page for enabling the required WeChat Mini Program API

Error 2: Plugin Permission Configuration Error

Plugin permission configuration error during code submission

Fix

WeChat Mini Program plugins are different from plugins in MeDo's Plugin Center. Prefer using plugins from MeDo's Plugin Center, and tell MeDo to remove code related to WeChat Mini Program plugins. If you do need a WeChat Mini Program plugin, scan the code and go to WeChat Open Platform > Management > Version Management > View Authorized Third-Party Platforms > Third-Party Settings > Plugin Management, then add the required plugin.

Plugin management page in third-party platform settings

Add the plugin in Plugin Management.

Required plugin selection page

Select the required plugin.

Error 3: Privacy Permission Configuration Error

Privacy permission configuration error during code submission

Fix

Tell MeDo to adjust the configuration. Example prompt:

Please modify the requiredPrivateInfos field in src/app.config.ts. It must only use fields from this list: chooseAddress, chooseLocation, choosePoi, getFuzzyLocation, getLocation, onLocationChange, startLocationUpdate, startLocationUpdateBackground.

Error 4: Page Configuration Error

Page configuration error caused by duplicate pages

Fix

Tell MeDo to fix the duplicate page configuration. Example prompt:

Please fix the duplicate pages configuration issue in src/app.config.ts.

Error 5: Plugin Version Error

Plugin version error during code submission

Fix

WeChat Mini Program plugins are different from plugins in MeDo's Plugin Center. Prefer using plugins from MeDo's Plugin Center, and tell MeDo to remove code related to WeChat Mini Program plugins. If you do need a WeChat Mini Program plugin, scan the code and go to WeChat Open Platform > Management > Version Management > View Authorized Third-Party Platforms > Third-Party Settings > Plugin Management. Add the required plugin, open its details, find the latest version number, and tell MeDo to update the version. Example prompt:

Please change the version number of the xx plugin in src/app.config.ts to xx.

Plugin details page showing the latest version number

Error 6: Code Package Exceeds WeChat's 2 MB Limit

Code package exceeds the WeChat 2 MB limit

Fix

Tell MeDo to reduce package size. Example prompt:

The code package exceeds WeChat's 2 MB limit. Please replace or delete large images or other large resources.

Error 7: Bottom Navigation Configuration Error

Bottom navigation configuration error during code submission

Fix

Tell MeDo to fix the bottom navigation configuration. Example prompt:

Please fix the bottom navigation configuration error. The number of icons must be between 2 and 5, and each icon must be no larger than 40 KB.

Error 8: Build Configuration Error

Build configuration error during code submission

Fix

Tell MeDo to clean up the build configuration. Example prompt:

Please clean up the mini build configuration in config/prod.ts and change it to an empty object.

Error 9: WeChat Mini Program Review Failed

WeChat Mini Program review failed notification

Go to WeChat Official Accounts Platform > Notification Center to view the review result. You may also receive the review notification in WeChat service notifications on your phone.

Review result in the WeChat Official Accounts Platform notification center