Skip to main content

📚 FAQ

If you have any questions or suggestions, please go to the CloudBase community to submit an issue.

🔝 WeDa trial version renewal failed?

Important Notice

The WeDa free trial campaign has ended! If you encounter renewal failure issues, please go to CloudBase Platform - Plan Usage to upgrade with payment.

微搭免费体验活动已结束

What is the relationship between WeDa and CloudBase

WeDa is a functional module of CloudBase

微搭与云开发关系

Cannot find the "Approval Flow" entry in CloudBase platform

Approval flow is currently only open to existing users and Enterprise Edition and above plans.

Cannot see Git entry in CloudBase platform

Please refer to Git Mode Documentation for details.

Does CloudBase platform support authenticating multiple mini programs

Yes, please refer to Authenticate Mini Program to CloudBase Platform.

CloudBase platform custom SMS signature

Please refer to Custom SMS Signature Documentation for details.

How to bind a custom domain name in CloudBase platform

Please refer to the documentation Application Custom Domain Name for configuration. The same application supports binding multiple domain names.

Does custom domain name support domain names from other service providers

Yes, you need to apply for an SSL certificate from Tencent Cloud platform first: Apply Now

Custom domain name SSL certificate expired

When the custom domain name SSL certificate expires, it needs to be manually replaced.

Cloud backend access 404

云后台访问404

Check if the __auth folder in static hosting has been deleted

Sub-account CAM preset policy configuration guide

Please refer to Sub-account Authorization WeDa Preset Policy Configuration Guide

Application publishing error

Mini program application publishing error: Mini program (preview version) deployment failed Error: errCode": -10008, "errMsg": "invalid ip: 106.54.224.183"

Publishing mini program prompts submission failed_code contains ext.json unconfigured privacy interface getLocation

"Submission for review failed_code contains ext.json unconfigured privacy interface getLocation, please configure and apply for permission or promise not to use these interfaces (set parameter privacy_api_not_use to true) before submitting", please refer to Location Component Configuration Guide to configure the mini program app.json file.

Publishing mini program version number issue

The official version of the mini program can customize the application version number.

Mini program review submission rejected

View the review failure reason in the application release version and perform corresponding operations according to the rejection reason.

Publishing application prompts insufficient publishing quota

Can be resolved in the following ways:

  • Upgrade plan
  • Delete previously published applications

When publishing H5 application, how to hide the cloud backend navigation bar at the top

隐藏导航栏设置

When publishing the application, select "No" for cloud backend listing.

After application is published, data is not displayed

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

    数据模型权限设置
  2. Please check if the data type used by the application is correct. Currently, the data model provided by WeDa distinguishes between formal and trial data (Standard Edition and above support)

    数据类型设置

After application is published, images are not displayed

Please troubleshoot according to the following steps:

  1. 🔍 Check if cloud storage permissions are enabled first

    云存储权限设置
  2. 📖 If cloud storage permission settings are fine, please refer to Image Component Documentation FAQ

How to resolve H5 application access address blocked by WeChat

微信封控提示

If blocked by WeChat, it can be resolved in the following ways:

Access prompts "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"
}

The IP needs to be added to the security domain configuration. In Environment Configuration - Security Domain Configuration, you need to add the domain name.

This configuration has cache and is expected to take effect about 10 minutes after configuration

安全域名配置

Data model created successfully, but no "Trial/Formal Data" switching entry

Currently, trial data only supports CloudBase Standard Edition and above plans

体验数据入口

Data loading slow

Can be troubleshooted and resolved in the following ways:

  1. First check in the log panel if there are slow queries. If slow queries exist, add index fields according to the prompts

    慢查询日志
  2. Upgrade plan version to increase QPS

Does MySQL data model support transactions

Currently does not support transactions.

How to query more than 200 data records at once

Use the Database Query Collection method, which can query up to 1000 data records at a time.

Is there a limit on single data record storage size

There is no upper limit for array or object types, but the upper limit for a single document data is 16MB. Considering the heavy network IO and serialization costs, it is not recommended to add unlimited data to arrays

How to enable debug mode

Please refer to Application Debugging Documentation for details.

Calling system general option set APIs returns 401

Check the access key configured in the APIs.

After publishing application, component functions are abnormal

Please provide the following information for troubleshooting:

  • Briefly describe the component issue
  • Provide preview link
  • For issues caused by component defects, after component repair, guide users to upgrade component -> republish application

Module function abnormal error

Need to provide complete error information (you can copy it from the error message)

Workflow execution concurrency limit

There is a call limit of 2000 times per hour.

Under what circumstances will event execution in the editor go to the failure branch

The following situations will trigger the failure branch:

  • 🌐 Network status abnormal
  • ⚠️ Internal service error
  • 💻 Custom code actively throws exception: throw new Error("An error occurred")

Publishing local component library prompts "unhandledRejection CloudBaseError: src file upload to object storage failed"

  • Phenomenon:

When executing tcb lowcode publish for local component library, it prompts unhandledRejection CloudBaseError: src file upload to object storage failed

发布本地组件库失败示例

  • Solution:

The custom component library Cli version is too low, please upgrade the version to 2.10.0, refer to Upgrade Notice: Custom Component Library Cli Upgrade Reminder

Mini program backend version management disabled

The mini program has been bound to the CloudBase platform through QR code authorization. The mini program backend third-party is bound to WeDa low-code and needs to be unbound.

微搭免费体验活动已结束

QR code authorization failed, prompts "Mini program and Tencent Cloud account binding inconsistent or cloud development not enabled"

Possible reasons and solutions:

  • If it prompts that the mini program and Tencent Cloud account binding are inconsistent, please go to Tencent Cloud Account Center to check the account association relationship

    账号关联检查

  • If it prompts that cloud development is not enabled, please refer to this document Enable Cloud Development Step 2 to enable cloud development

Note

If the mini program is registered or WeChat certified on the same day, there may be a delay in the mini program information returned by WeChat. You can try QR code authorization binding later

Mini program access reports [Resource Reuse] not authorized for this environment

小程序跳转示例

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

环境共享设置

How to implement mini program jumping to another mini program

There are two ways to achieve this:

How to integrate WeChat Pay

Please refer to WeChat Pay Integration Process

Mini program download file prompts downloadFile:fail url not in domain list

Please refer to downloadFile Domain Configuration Guide to configure mini program download domain

How to enable sharing for mini program page (visual development method)

页面分享入口

You can go to page configuration and turn on the forward switch

页面分享设置

When generating mini program code in mini program backend, filling in the path copied from WeDa reports path does not exist?

After copying the page path from WeDa, you need to add .html at the end

小程序码路径设置

What is the difference between mini program subscription messages and WeChat official account subscription messages, can they share the same openid?

Refer to the flowchart below:

订阅消息流程

After calling logout method in mini program, page access is abnormal

Define the following example JavaScript method in the editor and call this method in the event that triggers logout:

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

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

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

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