API Gateway failing to import api definition with Internal server error



I'm trying to apply a new api definition to my http api gateway and I'm hitting error: An error occurred (InternalServerException) when calling the ReimportApi operation (reached max retries: 4): Internal server error

Even if I export the latest configuration and try to reimport it ... it fails. Latest configuration was edited by hand by a devops engineer that does not work here anymore.

How's possible that latest configuration export cannot be imported again ?

Thanks in advance, Joao

asked a year ago352 views
1 Answer

Hello there,

This error usually happens if the API configuration is too large. For example, if the number of VPC links, routes or any other resource or operation quota is exceeded. The suggested workaround is to reduce the size of API configuration or increase the resource/operation quota if it supports quota increase.

[+] HTTP API quotas - https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html#http-api-quotas

However, I would suggest that you reach out to Premium Support over a case in order to further dive deeper into the issue.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions