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時間365日のサポートをご提供します。

    電話サポート(24 時間365日対応)