0

After removing unused services, I was unable to push the code (amplify push) and got this error.

the command that I run

  amplify remove notifications
  amplify remove analytics

CLI error (amplify push):

✖ There was an error pulling the backend environment dev. not enough bytes in the stream. expected 15644. got only 11274 Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/

Session Identifier: 7afb1bd4-92b7-47dc-a33c-da119f94dfc9 ✅ Report saved: /var/folders/6r/4np_tfpj3dbc69f1mc7l2gph0000gn/T/jammaroundapp/report-1674513678504.zip ✔ Done Project Identifier: 1c09b09cbdd7fadb87731c2182daedce

Error.json

      {
        "name":"BackendPullFault",
        "classification":"FAULT",
        "options":{
            "message":"not enough bytes in the stream. expected 15644. got only 11274"
        },
        "downstreamException":{
            
        },
        "link":"https://docs.amplify.aws/cli/project/troubleshooting/"
    }

I try to pull the AWS Amplify in a new project and got this error "Failed to pull the backend" and also try to update anything on the AWS Amplify dashboard and press on Save and Deploy button but got this error

  Deployment failed
  not enough bytes in the stream. expected 15644. got only 11274 at AssertByteCountStream._flush

amplify cli version 10.6.2

enter image description here

enter image description here

Ahsan Abrar
  • 139
  • 3
  • 13

0 Answers0