# Azle canister deployment error

**URL:** <https://forum.dfinity.org/t/azle-canister-deployment-error/34773>\
**Category:** Developers\
**Created:** [September 5, 2024, 7:46am UTC](https://forum.dfinity.org/t/azle-canister-deployment-error/34773 "2024-09-05T07:46:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam-thetutor](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/sam-thetutor/32/19114_2.png) [@sam-thetutor](https://forum.dfinity.org/u/sam-thetutor)\
**Post date:** [September 5, 2024, 7:46am UTC](https://forum.dfinity.org/t/azle-canister-deployment-error/34773/1 "2024-09-05T07:46:31Z")

</div>

I have a canister written in azle and I am getting this error when i try to deploy it. What could be the issue?

 ![Screenshot from 2024-09-05 10-43-31](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/9/d/9dfa501dbe4947567501f2fba2375c01ae4f7ed5.png)  
a

---

<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:** [September 5, 2024, 7:47am UTC](https://forum.dfinity.org/t/azle-canister-deployment-error/34773/2 "2024-09-05T07:47:36Z")

</div>

@lastmjs to the rescue!

---

<div class="post-metadata">

**Author:** ![lastmjs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/lastmjs/32/3406_2.png) [@lastmjs](https://forum.dfinity.org/u/lastmjs)\
**Post date:** [September 7, 2024, 6:17am UTC](https://forum.dfinity.org/t/azle-canister-deployment-error/34773/3 "2024-09-07T06:17:54Z")

</div>

What version of Azle are you using? Seems like it could be a big old. Perhaps try upgrading to the latest version.

Also it would help to post your entire code, as there is probably an obvious issue.

Also try reducing your code to the simplest possible to just get it to deploy, then add on top of that. Basically comment everything out until it works.

Also you should read the debugging section of The Azle Book: [Debugging - The Azle Book](https://demergent-labs.github.io/azle/debugging.html)
