tencent cloud

Feedback

API Gateway Trigger FAQs

Last updated: 2024-12-02 16:29:12

    What should I do if SCF returns a 504 error?

    1. Check the timeout period configured for the function and gateway and try to increase the gateway timeout period.
    2. View log analysis to identify specific causes.

    What should I do if SCF returns the "error":403,"error":"Invalid scf response format. please check your scf response format." error message?

    API Gateway parses the function response and constructs an HTTP response based on the parsed content. This integration response allows you to control the status code, headers, and body content of the response by using codes, and customize the response in the XML, HTML, JSON, and even JS format. This feature requires that data structures of integration response for API Gateway trigger should be returned to API Gateway for parsing; otherwise, the error message {"error":403,"error":"requestId xxx , Invalid scf response. expected scf response valid JSON."} will appear.

    How do I use a custom domain name?

    You can bind your independent domain name to the SCF service, so that the service can be accessed at it. For more information, see Configuring a Custom Domain Name. Then you can select Use Existing API Service to create an API Gateway trigger for a function that requires a custom domain name.
    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