tencent cloud

All product documents
Serverless Application Center
Deployment Process
Last updated: 2024-12-02 11:16:20
Deployment Process
Last updated: 2024-12-02 11:16:20

Why is the error "EnvId is invalid" reported when I deploy a full-stack application through the MongoDB component?

The TCB DB component currently creates one free TCB environment for you by default. If you already have a free environment, creating a new one through Serverless Component will fail and report an error. You can delete the DB folder and configure the MongoId parameter in backend -> serverless.yml in the Demo directory and enter the ID of your existing TCB environment to complete the project deployment.

I created an API Gateway trigger and an SCF function through components, but why isn't the trigger information displayed in the SCF console?

The serverless component creates API Gateway triggers by calling the API Gateway APIs. Currently, the SCF console cannot display triggers created through API Gateway APIs. You can log in to the API Gateway console to configure related triggers.

Why is the error "cdn host no icp" reported?

Tencent Cloud requires that an ICP filing be present when a CDN acceleration domain name or custom domain name is used; otherwise, the domain name won't take effect.

Why doesn't the configuration in serverless.yml take effect?

The configuration information in the .yml file should be entered strictly in accordance with the sample format. Please make sure that the content and indentation format of your configuration file are correct.

Why does parameter verification fail during deployment?

To ensure successful application deployment, Serverless Framework will verify the format of the parameters in the .yml file. Please make sure that your parameter format complies with the specifications. If you don't need a parameter, please delete it directly, as verification will fail even if you leave it empty.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon