Skip to content

NoSuchKey: The specified key does not exist. #20

@Satej

Description

@Satej

Unfortunately I deleted the state directory in s3 and when I try to redeploy using sls deploy it throws below error:

NoSuchKey: The specified key does not exist.

✖ NoSuchKey: The specified key does not exist.
at AwsRestXmlProtocol8.handleError (file:///home/u/.serverless/releases/4.26.0/package/dist/sf-core.js:408:61525)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async AwsRestXmlProtocol8.deserializeResponse (file:///home/u/.serverless/releases/4.26.0/package/dist/sf-core.js:22:46683)
at async file:///home/u/.serverless/releases/4.26.0/package/dist/sf-core.js:19:8882
at async file:///home/u/.serverless/releases/4.26.0/package/dist/sf-core.js:424:5027
at async file:///home/u/.serverless/releases/4.26.0/package/dist/sf-core.js:44:84557
at async file:///home/u/.serverless/releases/4.26.0/package/dist/sf-core.js:423:11741
at async file:///home/u/.serverless/releases/4.26.0/package/dist/sf-core.js:423:12249
at async file:///home/u/.serverless/releases/4.26.0/package/dist/sf-core.js:402:6390
at async file:///home/u/.serverless/releases/4.26.0/package/dist/sf-core.js:1048:24897

For help, try the following:
• Run the command again with the "--debug" option
• Run "serverless support"
• Review the docs: https://www.serverless.com/framework/docs/

tried removing .serverless and remove the app

but does not help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions