tencent cloud

피드백

API Gateway Trigger FAQs

마지막 업데이트 시간:2021-06-16 14:51:56

    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.

    문의하기

    고객의 업무에 전용 서비스를 제공해드립니다.

    기술 지원

    더 많은 도움이 필요하시면, 티켓을 통해 연락 바랍니다. 티켓 서비스는 연중무휴 24시간 제공됩니다.

    연중무휴 24시간 전화 지원