# Error when setting 0x0 storage slot when deploying a contract

**URL:** https://forum.fuel.network/t/error-when-setting-0x0-storage-slot-when-deploying-a-contract/2126
**Category:** Sway
**Created:** [March 24, 2023, 6:19pm UTC](https://forum.fuel.network/t/error-when-setting-0x0-storage-slot-when-deploying-a-contract/2126 "2023-03-24T18:19:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![FossilFrank](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/fossilfrank/32/1008_2.png) [@FossilFrank](https://forum.fuel.network/u/FossilFrank)
#### Post date: [March 24, 2023, 6:19pm UTC](https://forum.fuel.network/t/error-when-setting-0x0-storage-slot-when-deploying-a-contract/2126/1 "2023-03-24T18:19:44Z")

</div>

Just ran into a strange error: when I try to deploy a smart contract, I got the error `ContractNotInInputs`. After some debugging, I found out that this error would go away if I didn’t try to set the storage slot `0x0000000000000000000000000000000000000000000000000000000000000000`.

We’ll work around this issue by changing the storage slots we use, but this still seems like a bug in the VM.

---

<div class="post-metadata">

### Author: ![digorithm](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/digorithm/32/851_2.png) [@digorithm](https://forum.fuel.network/u/digorithm)
#### Post date: [April 27, 2023, 8:32pm UTC](https://forum.fuel.network/t/error-when-setting-0x0-storage-slot-when-deploying-a-contract/2126/2 "2023-04-27T20:32:40Z")

</div>

Uh, that’s odd. How can I reproduce this error?
