# "the specified bucket does not exist": lambdas are now in an unstable state

**URL:** <https://forum.serverless.com/t/the-specified-bucket-does-not-exist-lambdas-are-now-in-an-unstable-state/5693>\
**Category:** Serverless Framework\
**Tags:** lambda\
**Created:** [September 5, 2018, 9:33pm UTC](https://forum.serverless.com/t/the-specified-bucket-does-not-exist-lambdas-are-now-in-an-unstable-state/5693 "2018-09-05T21:33:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![owendall](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/owendall/32/825_2.png) [@owendall](https://forum.serverless.com/u/owendall)\
**Post date:** [September 5, 2018, 9:33pm UTC](https://forum.serverless.com/t/the-specified-bucket-does-not-exist-lambdas-are-now-in-an-unstable-state/5693/1 "2018-09-05T21:33:08Z")

</div>

macbook:js owendall$ SLS\_DEBUG="\*" serverless deploy  
Serverless: Load command config  
Serverless: Load command config:credentials  
Serverless: Load command create  
Serverless: Load command install  
Serverless: Load command package  
Serverless: Load command deploy  
Serverless: Load command deploy:function  
Serverless: Load command deploy:list  
Serverless: Load command deploy:list:functions  
Serverless: Load command invoke  
Serverless: Load command invoke:local  
Serverless: Load command info  
Serverless: Load command logs  
Serverless: Load command login  
Serverless: Load command logout  
Serverless: Load command metrics  
Serverless: Load command print  
Serverless: Load command remove  
Serverless: Load command rollback  
Serverless: Load command rollback:function  
Serverless: Load command slstats  
Serverless: Load command plugin  
Serverless: Load command plugin  
Serverless: Load command plugin:install  
Serverless: Load command plugin  
Serverless: Load command plugin:uninstall  
Serverless: Load command plugin  
Serverless: Load command plugin:list  
Serverless: Load command plugin  
Serverless: Load command plugin:search  
Serverless: Load command config  
Serverless: Load command config:credentials  
Serverless: Load command rollback  
Serverless: Load command rollback:function  
Serverless: Invoke deploy  
Serverless: Invoke package  
Serverless: Invoke aws:common:validate  
Serverless: Invoke aws:common:cleanupTempDir  
Serverless: Packaging service…  
Serverless: Excluding development dependencies…  
Serverless: Invoke aws:package:finalize  
Serverless: Invoke aws:common:moveArtifactsToPackage  
Serverless: Invoke aws:common:validate  
Serverless: Invoke aws:deploy:deploy

Serverless Error ---------------------------------------

The specified bucket does not exist

Stack Trace --------------------------------------------

ServerlessError: The specified bucket does not exist  
at BbPromise.fromCallback.catch.err (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/provider/awsProvider.js:270:11)  
From previous event:  
at persistentRequest (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/provider/awsProvider.js:253:13)  
at doCall (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/provider/awsProvider.js:205:9)  
at BbPromise (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/provider/awsProvider.js:222:14)  
From previous event:  
at persistentRequest (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/provider/awsProvider.js:203:38)  
at Object.request.requestQueue.add [as promiseGenerator] (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/provider/awsProvider.js:243:49)  
at Queue.\_dequeue (/usr/local/lib/node\_modules/serverless/node\_modules/promise-queue/lib/index.js:153:30)  
at /usr/local/lib/node\_modules/serverless/node\_modules/promise-queue/lib/index.js:109:18  
From previous event:  
at Queue.add (/usr/local/lib/node\_modules/serverless/node\_modules/promise-queue/lib/index.js:94:16)  
at AwsProvider.request (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/provider/awsProvider.js:243:39)  
at AwsDeploy.getMostRecentObjects (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/deploy/lib/checkForChanges.js:33:26)  
From previous event:  
at AwsDeploy.checkForChanges (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/deploy/lib/checkForChanges.js:20:8)  
From previous event:  
at Object.aws:deploy:deploy:checkForChanges [as hook] (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/deploy/index.js:106:10)  
at BbPromise.reduce (/usr/local/lib/node\_modules/serverless/lib/classes/PluginManager.js:390:55)  
From previous event:  
at PluginManager.invoke (/usr/local/lib/node\_modules/serverless/lib/classes/PluginManager.js:390:22)  
at PluginManager.spawn (/usr/local/lib/node\_modules/serverless/lib/classes/PluginManager.js:408:17)  
at AwsDeploy.BbPromise.bind.then (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/deploy/index.js:95:48)  
From previous event:  
at Object.deploy:deploy [as hook] (/usr/local/lib/node\_modules/serverless/lib/plugins/aws/deploy/index.js:91:10)  
at BbPromise.reduce (/usr/local/lib/node\_modules/serverless/lib/classes/PluginManager.js:390:55)  
From previous event:  
at PluginManager.invoke (/usr/local/lib/node\_modules/serverless/lib/classes/PluginManager.js:390:22)  
at PluginManager.run (/usr/local/lib/node\_modules/serverless/lib/classes/PluginManager.js:421:17)  
at variables.populateService.then.then (/usr/local/lib/node\_modules/serverless/lib/Serverless.js:157:33)  
at runCallback (timers.js:810:20)  
at tryOnImmediate (timers.js:768:5)  
at processImmediate [as \_immediateCallback] (timers.js:745:5)  
From previous event:  
at Serverless.run (/usr/local/lib/node\_modules/serverless/lib/Serverless.js:144:8)  
at serverless.init.then (/usr/local/lib/node\_modules/serverless/bin/serverless:43:50)  
at

Get Support --------------------------------------------  
Docs: [docs.serverless.com](http://docs.serverless.com)  
Bugs: [github.com/serverless/serverless/issues](http://github.com/serverless/serverless/issues)  
Issues: [forum.serverless.com](http://forum.serverless.com)

Your Environment Information -----------------------------  
OS: darwin  
Node Version: 8.11.2  
Serverless Version: 1.30.3

macbook:js owendall$

My serverless is in an unstable state. I cleared out the contents of the s3 buckets I am using…

I don’t understand the debug output above.

**What is the best way to restart and clear with SLS on AWS?**

Thanks!

Owen

---

<div class="post-metadata">

**Author:** ![owendall](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/owendall/32/825_2.png) [@owendall](https://forum.serverless.com/u/owendall)\
**Post date:** [September 5, 2018, 10:07pm UTC](https://forum.serverless.com/t/the-specified-bucket-does-not-exist-lambdas-are-now-in-an-unstable-state/5693/2 "2018-09-05T22:07:11Z")

</div>

1. I removed all s3 buckets used for data
2. I removed the s3 serverless deploy bucket
3. I removed the local .serverless files to try to restart

Which bucket is the error message referring to?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/d/d850ab9887f9d0144a582f0c40c9e8ce792c6ad9.jpeg)

---

<div class="post-metadata">

**Author:** ![owendall](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/owendall/32/825_2.png) [@owendall](https://forum.serverless.com/u/owendall)\
**Post date:** [September 5, 2018, 10:37pm UTC](https://forum.serverless.com/t/the-specified-bucket-does-not-exist-lambdas-are-now-in-an-unstable-state/5693/3 "2018-09-05T22:37:16Z")

</div>

I changed the service name, and killed the last .serverless folder.

Now it works. Why did I need to change the name? 🙂

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/f/f764cbed16e5df462ec5958335bdc3e63dfb52d5.jpeg)

---

<div class="post-metadata">

**Author:** ![owendall](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/owendall/32/825_2.png) [@owendall](https://forum.serverless.com/u/owendall)\
**Post date:** [September 5, 2018, 10:46pm UTC](https://forum.serverless.com/t/the-specified-bucket-does-not-exist-lambdas-are-now-in-an-unstable-state/5693/4 "2018-09-05T22:46:19Z")

</div>

…except the functions aren’t being deployed as SLS says:

“Service files not changed, Skipping deployment.”

???

---

<div class="post-metadata">

**Author:** ![owendall](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/owendall/32/825_2.png) [@owendall](https://forum.serverless.com/u/owendall)\
**Post date:** [September 6, 2018, 3:26am UTC](https://forum.serverless.com/t/the-specified-bucket-does-not-exist-lambdas-are-now-in-an-unstable-state/5693/5 "2018-09-06T03:26:12Z")

</div>

OK, so I went to AWS “CloudFormation” and deleted the record that existed:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/3/323bf43dbbe7fbd2cf32e49f256b3a8d8621d2bc.png)

And re-ran this command:

$ sls deploy --force

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/c/cfd3405a08759ed342da32dd7a3ff5704c65ad1f.jpeg)

---

<div class="post-metadata">

**Author:** ![owendall](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/owendall/32/825_2.png) [@owendall](https://forum.serverless.com/u/owendall)\
**Post date:** [September 6, 2018, 3:27am UTC](https://forum.serverless.com/t/the-specified-bucket-does-not-exist-lambdas-are-now-in-an-unstable-state/5693/6 "2018-09-06T03:27:48Z")

</div>

Finally, the functions appear:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/d/d9e65abb23bbbfd889f5765ef62b3dd06556ab7c.png)
