Converting from Expired API Key to Cognito causes Cloudformation to fail.
See original GitHub issueNote: If your issue/bug is regarding the AWS Amplify Console service, please log it in the official AWS Amplify Console forum
Describe the bug
Switching to Cognito auth type from an expired API key causes amplify push
to fail with the error 404 not found.
To Reproduce Steps to reproduce the behavior:
- Create a new project and use API Key as the auth type
- Expire the API key
- Convert existing project to Cognito using
amplify api update
- Execute
amplify push
- This would cause Cloudformation to fail.
Expected behavior Auth type to switch to Cognito instead of API key
Screenshots
Additional context Using Amplify for Javascript with React. Using Amplify version 1.1.6
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Resolve the "Internal Failure" error in CloudFormation - AWS
To resolve this issue using AWS CloudTrail, complete the steps in the Find the failed API operations in your CloudTrail event logs section....
Read more >Using the Cognito Hosted UI with an Application Load Balancer
If the user is no longer authorized (either the authorization has expired or the user was explicitly logged out), then what happens next...
Read more >Upgrading to Serverless Framework v3
Upgrading to Serverless Framework v3. Serverless Framework v3 contains a few breaking changes that may impact some projects. This guide helps users upgrade ......
Read more >requests-aws4auth - PyPI
Version 0.8 introduces request date checking and automatic key ... code to handle an authentication failure response from AWS caused by the date...
Read more >AWS Cognito & Amplify Auth - Bad, Bugged, Baffling - Reddit
Okay, we get an error: TRUE_VALUE can not be converted to a String, I guess booleans are not supported? I mean CDK and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To be more specific you don’t edit the value but you redeploy the stack with a new value for the parameter.
APIKeyExpirationEpoch
)Any updates? I still got the same error with latest cli