amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

push suddenly fails with s3 error

Open tluolamo opened this issue 7 years ago • 2 comments

I was doing pushes when making some changes to primarily custom resources and functions. Suddenly between the two pushes I get an error:

UPDATE_FAILED               GraphQLSchema                                         AWS::AppSync::GraphQLSchema Sat Sep 14 2019 10:17:54 GMT-0700 (PDT) The specified key does not exist. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchKey; Request ID: 9666F6CAF5327F0B; S3 Extended Request ID: arsINY9MN7H4c+57mUZpd88voZJzj1EYLet2tQHPNVvzGZ+GwjXaoaDhrjSwZZYUqE7gX1lhvxk=)
UPDATE_ROLLBACK_IN_PROGRESS pod-api-develop-20190604170247-apipodapi-TBY6BRSEYK7A AWS::CloudFormation::Stack  Sat Sep 14 2019 10:17:55 GMT-0700 (PDT) The following resource(s) failed to update: [GraphQLSchema].                                                                                                                                                                       
⠸ Updating resources in the cloud. This may take a few minutes...

UPDATE_FAILED               apipodapi                      AWS::CloudFormation::Stack Sat Sep 14 2019 10:17:56 GMT-0700 (PDT) Embedded stack arn:aws:cloudformation:us-east-1:741222462056:stack/pod-api-develop-20190604170247-apipodapi-TBY6BRSEYK7A/537571a0-872b-11e9-b9b0-0a6fb8e9c8ee was not successfully updated. Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: The following resource(s) failed to update: [GraphQLSchema]. 

I'm using version @aws-amplify/[email protected]

I tried upgrading to 3.2.0 and 3.1.0 but get a different error with those. Any way to get past it?

tluolamo avatar Sep 14 '19 19:09 tluolamo

Upgraded again to 3.2.0 and used the instructions here to get past the error https://github.com/aws-amplify/amplify-cli/issues/2260#issuecomment-530926035 then got another error about API key which I had deprecated a long time ago, but removing the config manually for it from the source files seemed to solve that one and I was able to push full build again.

tluolamo avatar Sep 14 '19 19:09 tluolamo

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.

github-actions[bot] avatar May 27 '21 02:05 github-actions[bot]