Zappa
Zappa copied to clipboard
Deployment fails on API Gateway: Invalid API Key identifier specified
Context
Zappa deploy fails with an exception:
botocore.errorfactory.NotFoundException: An error occurred (NotFoundException) when calling the UpdateApiKey operation: Invalid API Key identifier specified
Is there anyway to debug this?
Your Environment
Zappa Version: zappa==0.48.2 The configuration file is as follows:
{ "prod": { "app_function": "main.app", "profile_name": "default", "project_name": "some-project-name", "runtime": "python3.7", "s3_bucket": "some-bucket-name", "aws_region": "us-east-1", "apigateway_enabled": true, "api_key_required": true, "api_key": "some-api-key" } }
@mxlei01 can you fix it?
@h-rub Can you retry? Sometimes during deployment, a resource is not created yet and botocore throws NotFoundException.