Forum Discussion

RebeccaCode's avatar
RebeccaCode
New Contributor
6 years ago
Solved

Amazon API Gateway Lambda Sync: Invalid REST API identifier specified

I am unable to sync my SwaggerHub API with Amazon API Gateway Lambda Sync. I have created an extremely simple API in order to learn the process. SwaggerHub says my definition is valid but the Amazon API Gateway Lambda Sync Integration fails with this message:

 

  • The answer was in front of me all along -- leave the name of the API blank. If the name of the API is not blank the tool looks for that API in AWS and will fail if the API is not found. If the name is blank the tool will create or update the API based on the name in the Swagger definition.

1 Reply

  • RebeccaCode's avatar
    RebeccaCode
    New Contributor

    The answer was in front of me all along -- leave the name of the API blank. If the name of the API is not blank the tool looks for that API in AWS and will fail if the API is not found. If the name is blank the tool will create or update the API based on the name in the Swagger definition.