amplify push | Api update > CREATE FAILED
See original GitHub issueI’m getting a ‘CREATE FAILED’ error when running amplify push. I updated my schema.graphql by adding more Object types and relations. The gql-compile was successful but the push then fails with the following output:
amplify --version 3.9.0
CREATE_FAILED Action AWS::CloudFormation::Stack Tue Oct 22 2019 14:39:20 GMT+0200 (SAST) S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. For more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
CREATE_FAILED Contact AWS::CloudFormation::Stack Tue Oct 22 2019 14:39:20 GMT+0200 (SAST) S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. For more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
UPDATE_FAILED Retailer AWS::CloudFormation::Stack Tue Oct 22 2019 14:39:20 GMT+0200 (SAST) Resource update cancelled
UPDATE_FAILED Voucher AWS::CloudFormation::Stack Tue Oct 22 2019 14:39:20 GMT+0200 (SAST) Resource update cancelled
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Project-level configurations - Troubleshooting guide
If amplify push fails, check the CloudFormation event logs for the failing resource to get detailed information to fix the issues in the...
Read more >"amplify push function" error: Resource is not in the state ...
CloudFormation tells me that resource update failed because of: Embedded stack arn:aws:cloudformation:::stack/amplify----api-/ was not successfully updated.
Read more >Update CloudFormation stacks stuck in ... - AWS
Short description. If your stack is stuck in the UPDATE_ROLLBACK_FAILED state after a failed update, then the only actions that you can perform ......
Read more >Amplify API - AppSync - CRUD (Create Read Update Delete)
AWS AppSync simplifies application development by creating a universal API for securely accessing, modifying, and combining data from multiple sources.
Read more >Amplify API key not found - ArturoFM
When this happens? When you push to an existing environment to update the api, you get an error saying "API key not found" ......
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 Free
Top 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
I have solved the issue.
It was caused by moving the project to another folder and not updating the project’s route or name in /amplify/.config/local-env-info.json
To solve it open /amplify/.config/local-env-info.json and check projectPath
Thank you for all your help.
This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels for those types of questions.