# A bug error while deploying

**URL:** <https://forum.dfinity.org/t/a-bug-error-while-deploying/31454>\
**Category:** Rust\
**Created:** [June 1, 2024, 10:12am UTC](https://forum.dfinity.org/t/a-bug-error-while-deploying/31454 "2024-06-01T10:12:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nailer](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/nailer/32/18496_2.png) [@Nailer](https://forum.dfinity.org/u/Nailer)\
**Post date:** [June 1, 2024, 10:12am UTC](https://forum.dfinity.org/t/a-bug-error-while-deploying/31454/1 "2024-06-01T10:12:29Z")

</div>

I am currently using WSL as my development environment on windows.  
The deployment was successful for the backend but stated a warning: `Cannot fetch Candid interface for icr1_transfer, sending arguments with inferred types.`

The error proceeded to: `Error: Failed update call. Caused by: Failed update call. The replica returned a rejection error: reject code CanisterError, reject message Canister ryjl3-tyaaa-aaaaa-aaaba-cai has no update method 'icr1_transfer', error code None`. Then, the deplyement started all over and it tried creating canisters but resulted in: `Error: Failed while trying to deploy canisters. Caused by: Failed while trying to deploy canisters. Failed to build all canisters. Failed while trying to build all canisters.`

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [June 3, 2024, 7:53am UTC](https://forum.dfinity.org/t/a-bug-error-while-deploying/31454/2 "2024-06-03T07:53:32Z")

</div>

Do you use a script to deploy? This looks like multiple unrelated errors. Can you share more about what’s going on?

---

<div class="post-metadata">

**Author:** ![Nailer](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/nailer/32/18496_2.png) [@Nailer](https://forum.dfinity.org/u/Nailer)\
**Post date:** [June 13, 2024, 6:25pm UTC](https://forum.dfinity.org/t/a-bug-error-while-deploying/31454/3 "2024-06-13T18:25:02Z")

</div>

Yea, thanks.  
I even already figured it out, just some bugs with the code.
