# Deployment Error

**URL:** <https://forum.dfinity.org/t/deployment-error/12099>\
**Category:** Developers\
**Tags:** Functional-Programming, Discussing\
**Created:** [April 12, 2022, 7:22pm UTC](https://forum.dfinity.org/t/deployment-error/12099 "2022-04-12T19:22:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gladguy](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gladguy/32/11145_2.png) [@gladguy](https://forum.dfinity.org/u/gladguy)\
**Post date:** [April 12, 2022, 7:22pm UTC](https://forum.dfinity.org/t/deployment-error/12099/1 "2022-04-12T19:22:15Z")

</div>

When deploying locally getting the below error

The replica returned an HTTP Error: Http Error: status 404 Not Found, content type “”, content: Requested canister does not exist

What could be the problem ? Kindly let me know.

---

<div class="post-metadata">

**Author:** ![3cL1p5e7](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/3cl1p5e7/32/4649_2.png) [@3cL1p5e7](https://forum.dfinity.org/u/3cL1p5e7)\
**Post date:** [April 13, 2022, 10:18am UTC](https://forum.dfinity.org/t/deployment-error/12099/2 "2022-04-13T10:18:52Z")

</div>

Hello!  
Need more details. What command did you run?

---

<div class="post-metadata">

**Author:** ![gladguy](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gladguy/32/11145_2.png) [@gladguy](https://forum.dfinity.org/u/gladguy)\
**Post date:** [April 13, 2022, 12:42pm UTC](https://forum.dfinity.org/t/deployment-error/12099/3 "2022-04-13T12:42:09Z")

</div>

This is the command  
dfx deploy mycanister

Deploying: mycanister  
All canisters have already been created.  
Building canisters…  
Building frontend…  
Installing canisters…  
Installing code for canister mycanister, with canister\_id novnv-7iaaa-aaaaa-aacca-cai  
The replica returned an HTTP Error: Http Error: status 404 Not Found, content type “”, content: Requested canister does not exist

---

<div class="post-metadata">

**Author:** ![3cL1p5e7](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/3cl1p5e7/32/4649_2.png) [@3cL1p5e7](https://forum.dfinity.org/u/3cL1p5e7)\
**Post date:** [April 14, 2022, 10:12am UTC](https://forum.dfinity.org/t/deployment-error/12099/4 "2022-04-14T10:12:29Z")

</div>

Try to start replica with the `--clean` flag like this `dfx start --clean`  
Also you can remove `.dfx` folder before replica starts.

---

<div class="post-metadata">

**Author:** ![gladguy](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gladguy/32/11145_2.png) [@gladguy](https://forum.dfinity.org/u/gladguy)\
**Post date:** [April 18, 2022, 9:47am UTC](https://forum.dfinity.org/t/deployment-error/12099/5 "2022-04-18T09:47:25Z")

</div>

Thanks mate. It works
