Help Center/ API Gateway/ FAQs/ Importing and Exporting APIs/ What Are the Possible Causes of an API Import Failure?
Updated on 2024-12-04 GMT+08:00

What Are the Possible Causes of an API Import Failure?

Possible cause 1: The number of APIs exceeds the maximum allowed limit for a single import. For more APIs (300), import them in batches or submit a service ticket to increase the limit.

Possible cause 2: Parameters are incorrect. Check and rectify the parameters. You are advised to create an API on the APIG console, export it, and then use it as a template for importing APIs.

Possible cause 3: The YAML file is in incorrect format. Check and modify the file.

Possible cause 4: The local proxy network has restrictions. Change the network environment.

Possible cause 5: The header of the API request contains X-Auth-Token. Remove X-Auth-Token from the header.