Skip to main content

📚 Frequently Asked Questions (FAQ)

Optimization Suggestions for Problem Submission​

If you encounter any issues or have suggestions, please go to the CloudBase Community to submit an issue

The Connection Between WeDa and CloudBase​

WeDa is a feature module of CloudBase.

The Connection Between WeDa and CloudBase

Cannot Find the [Approval Workflow] Entry in Cloud Development Platform​

Approval Workflow is currently only available to existing customers and Enterprise Edition and higher-tier plans.

Cannot See the Git Entry in Cloud Development Platform​

Please refer to the Git Mode Documentation for details.

Support for Authenticating Multiple Mini Programs in Cloud Development Platform​

Supported. Please refer to Authenticating Mini Programs to Cloud Development Platform.

Custom SMS Signature for Cloud Development Platform​

Please refer to the Custom SMS Signature Documentation for details.

Binding a Custom Domain Name in Cloud Development Platform​

Please refer to the documentation Configuring Custom Domain Names for setup. The same application supports binding multiple domain names.

Support for Domain Names from Other Providers in Custom Domain​

Supported. You need to apply for an SSL certificate on the Tencent Cloud platform first: Go to Apply

Custom Domain ssl Certificate Expiration​

Custom domain ssl certificate expires and needs to be manually replaced.

404 Error Accessing Cloud Console​

404 Error Accessing Cloud Console

Check if the __auth folder in Static Hosting has been deleted

Failed to Submit Mini Program for Review_ Unconfigured Privacy Interface getLocation in ext.json​

"Failed to submit for review_The code contains unconfigured privacy interface getLocation in ext.json. Please configure and apply for permissions or commit to not using these interfaces (set parameter privacy_api_not_use to true) before resubmitting." Please refer to Location Component Configuration Guide to configure the Mini Program's app.json file.

Release Version Number Issues for Mini Program​

Mini Program official release allows customizing the app version number.

Mini Program Submission for Review Rejected​

Check the review submission failure reasons in the app release version and take corresponding actions based on the rejection reasons.

Insufficient Release Quota Prompt for Application Publishing​

can be resolved in the following ways:

  • Upgrade Plan
  • Delete previously published applications

How to Hide the Top Cloud Console Navigation Bar When Publishing an H5 Application​

Hide Navigation Bar Settings

When publishing the application, select "No" for releasing to the cloud console.

Data Not Displayed After Application Published​

  1. Since super administrator permissions are generally used in the editor, if data is not displayed after the application is published, please prioritize checking the basic permissions of the data model.

    Data Model Permission Settings
  2. Please verify whether the correct data types are used in the application. Currently, WeDa provides data models that distinguish between production and trial data (Supported in Standard Edition and above).

    Data Type Settings

Images Not Displayed After Application Published​

Please follow the steps below to troubleshoot:

  1. 🔍 First, check whether cloud storage permissions are granted

    Cloud Storage Permission Settings
  2. 📖 If cloud storage permission settings are correct, please refer to the Image Component Documentation FAQ

How to Resolve H5 Application Access URL Being Blocked by WeChat​

WeChat Blocking Notification

Being blocked by WeChat can be resolved as follows:

Access prompt "error": "permission_denied"​

{
"error": "permission_denied",
"error_code": 7,
"error_description": "cors permission denied, please check if xx.xxx.xx in your client xxxxx-xxxxx domains"
}

Secure domain configuration needs to be added for the ip. In Environment Configuration - Secure Domain Configuration, the domain name must be included.

This configuration is cached and is expected to take effect approximately 10 minutes after configuration

Secure Domain Configuration

Data model created successfully, but lacks the switch option for "trial/production data"​

Currently, trial data is only supported for Cloud Development Standard Edition or higher packages.

Secure Domain Configuration

Data loading is slow​

Can be troubleshot and resolved in the following ways:

  1. First, check the log panel for slow queries. If any exist, add index fields as prompted.

    Slow Query Log
  2. Upgrade your plan edition to increase QPS

Does the MySql data model support transactions?​

Currently, transactions are not supported.

How to achieve a single query exceeding 200 data records​

Using the Database Query Collection method, a single query supports up to 1000 data records.

Is there a size limit for single data storage​

There is no upper limit for array or object types, but the upper limit for a single document is 16MB. Considering the excessive network I/O and serialization costs, it is not recommended to add data indefinitely in arrays.

How to enable debug mode​

Please refer to the Application Debugging Documentation for details.

Calling the system common option set APIs returns a 401 error.​

Check the access key configured for the APIs.

Component Features Abnormal After Application Published​

Please provide the following information to facilitate troubleshooting.

  • Briefly describe the symptom of the component issue
  • Provide a preview link
  • For issues caused by component defects, after the component is fixed, guide the user to upgrade the component -> republish the application

Module Feature Abnormal Error​

Please provide the complete error information (copy directly from the error message).

Workflow Execution Concurrency Limit​

There is a call volume limit of 2000 times per hour.

Under What Circumstances Does Event Execution Enter the Failure Branch in the Editor​

The following conditions will trigger the failure branch:

  • 🌐 Abnormal network status
  • ⚠ïļ Internal service error
  • ðŸ’ŧ Custom code actively throws an exception: throw new Error("An error occurred")

Mini Program Backend Version Management Disabled​

The Mini Program has been bound to the Cloud Development Platform via QR code authorization, and the Mini Program backend has third-party binding with WeDa Low-Code.

QR Code Authorization Failed: "Mini Program and Tencent Cloud Account Binding Inconsistent or Cloud Development Not Activated"​

Possible causes and solutions:

  • It is prompted that the Mini Program and Tencent Cloud account binding are inconsistent. Please go to the Tencent Cloud Account Center to check the account association relationship.

    Account Association Check

  • If prompted that Cloud Development is not activated, please refer to Step 2 in the document Enable Cloud Development to activate Cloud Development

Note

If the Mini Program was registered or WeChat-verified on the same day, there might be a delay in WeChat returning the program information. It is recommended to perform QR code authorization binding at a later time.

Mini Program Access Error: [Resource Reuse] - Authorization Not Obtained for This Environment​

Mini Program Jump Example

Follow the prompts to perform environment sharing operations. For specific steps, refer to the Environment Sharing Operation Guide.

Environment Sharing Settings

How to Implement Navigation from One Mini Program to Another​

There are two ways to achieve this:

How to Access WeChat Pay​

Please refer to the WeChat Pay Integration Process

Mini Program Download File Error: downloadFile:fail url not in domain list​

Please refer to the downloadFile Domain Configuration Guide to configure the Mini Program download domain.

How to Enable Sharing on Mini Program Pages (Visual Development Approach)​

Page Sharing Entry

You can navigate to the page configuration and turn on the forwarding switch.

Page Sharing Settings

Why does the Mini Program backend report that the path does not exist when I enter the path copied from WeDa to generate the Mini Program code?​

You need to append .html after the page path copied from WeDa

Mini Program Code Path Settings

What is the difference between Mini Program subscription messages and WeChat Official Account subscription messages? Can they share the same openid?​

Refer to the following flowchart:

Subscription Message Process

After calling the logout method in the Mini Program, page access becomes abnormal.​

Define the JavaScript method from the following example in the editor, and call this method in the event that triggers exit:

export default async function ({ event, data }) {
// Set logout status
$w.page.dataset.state.isToLogOut = true;

// Perform logout
await $w.auth?.signOut?.();

// Determine the platform type and perform corresponding operations
$w.wedaContext.platforms.includes("MP")
? // Mini Program: Restart and redirect to the specified page
wx.restartMiniProgram({
path: path: "Replace your own page path", // Please replace with the actual page path
})
: // Web: Refresh the page after a delay and automatically redirect to the default login page
setTimeout(() => {
window.location.reload();
}, 1000);
}
Usage Instructions
  • Please replace "your_own_page_path" with the actual page path you need to redirect to
  • On the Mini Program side, use wx.restartMiniProgram() to restart the Mini Program
  • On the Web side, use window.location.reload() to refresh the page

WeDa is merely a development tool. The copyright of a mini program belongs to its developer, who can apply for the software copyright of the mini program.