# Couldn’t send message

**URL:** <https://forum.dfinity.org/t/couldn-t-send-message/5195>\
**Category:** Developers\
**Created:** [June 15, 2021, 2:10am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195 "2021-06-15T02:10:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 2:10am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/1 "2021-06-15T02:10:50Z")

</div>

I am very happy to see the post of [General Availability of Application Subnets](https://forum.dfinity.org/t/general-availability-of-application-subnets/5171/9). I have been waiting for this moment for a long time,  
But when I tried to deploy using the dfx command line, it was normal when I created the canister, but I got an error when I entered dfx deploy

```auto
dfx deploy --network=ic

The invocation to the wallet call forward method failed with the error: An error happened during the call: 2: Couldn’t send message

```

why?

---

<div class="post-metadata">

**Author:** ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)\
**Post date:** [June 15, 2021, 2:15am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/2 "2021-06-15T02:15:16Z")

</div>

If you haven’t already, you’ll need to first create a canister from ICP. You can do this from the nns app or from dfx (by transferring ICP to the account-id returned by `dfx ledger account-id` then `dfx ledger --network ic create-canister <controller> --amount <icp amount>`)  
After this you can do `dfx identity --network ic deploy-wallet <canister id>` to deploy your cycles wallet.  
Then you should be able to deploy your canisters

---

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 2:16am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/3 "2021-06-15T02:16:49Z")

</div>

Canister has been created, but dfx deploy failed

---

<div class="post-metadata">

**Author:** ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)\
**Post date:** [June 15, 2021, 2:17am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/4 "2021-06-15T02:17:38Z")

</div>

May I have the result of `dfx identity --network ic get-wallet`

---

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 2:18am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/5 "2021-06-15T02:18:21Z")

</div>

```auto
dfx identity --network ic get-wallet
3bdpb-oyaaa-aaaah-qaaiq-cai

```

---

<div class="post-metadata">

**Author:** ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)\
**Post date:** [June 15, 2021, 2:30am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/6 "2021-06-15T02:30:31Z")

</div>

The error is being caught in the wallet canister, and the error code is 2 which is

```auto
SYS_TRANSIENT (2): Transient system error, retry might be possible.

```

Are you consistently reproducing this/have you retried? This is interesting, haven’t seen this

---

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 2:31am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/7 "2021-06-15T02:31:31Z")

</div>

Have been trying, but have been failing

---

<div class="post-metadata">

**Author:** ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)\
**Post date:** [June 15, 2021, 2:32am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/8 "2021-06-15T02:32:13Z")

</div>

I will try to reproduce on my end, what dfx version are you using?

---

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 2:32am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/9 "2021-06-15T02:32:45Z")

</div>

laster new version 0.7.1

---

<div class="post-metadata">

**Author:** ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)\
**Post date:** [June 15, 2021, 2:45am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/10 "2021-06-15T02:45:41Z")

</div>

`dfx wallet --network ic balance` What is the cycle balance of your cycles wallet?

---

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 2:46am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/11 "2021-06-15T02:46:11Z")

</div>

```auto
dfx wallet --network ic balance
37207495383 cycles.

```

---

<div class="post-metadata">

**Author:** ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)\
**Post date:** [June 15, 2021, 2:54am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/12 "2021-06-15T02:54:35Z")

</div>

Your cycle balance is 37 billion. The cost of creating a canister is 1T cycles. I’m surprised that you didn’t see an error like

```auto
The Replica returned an error: code 5, message: "Canister x6x47-ziaaa-aaaah-aaakq-cai attempted to send 11000000000000 cycles when only 10341424315024 were available in its balance"

```

Instead, you’re seeing error code 2 with can’t send message. Weird.

---

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 2:59am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/13 "2021-06-15T02:59:49Z")

</div>

![This is my wallet management page](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/2X/e/e8c0f7aa3bdca6f716e64e840aa45a8125577c5f.png)

The canister has been created, and there are 1T cycles inside the canister

---

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 3:19am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/14 "2021-06-15T03:19:12Z")

</div>

I just checked the canister deployed by others on [rocks](https://ic.rocks/canisters), it seems that it can’t be deployed. All are internal server error  
May be the same as mine

---

<div class="post-metadata">

**Author:** ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)\
**Post date:** [June 15, 2021, 3:21am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/15 "2021-06-15T03:21:26Z")

</div>

Hm I’m still looking into this. Did you happen to create you canister from the wallet UI or with dfx? I believe you used dfx right?

---

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 3:22am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/16 "2021-06-15T03:22:36Z")

</div>

My computer is mac os  
Use the dfx command

---

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 3:39am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/17 "2021-06-15T03:39:33Z")

</div>

Good news, my dfx deploy is successful, and I can recharge the wallet a little more cycles.  
I’m very much obliged to you

---

<div class="post-metadata">

**Author:** ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)\
**Post date:** [June 15, 2021, 3:46am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/18 "2021-06-15T03:46:30Z")

</div>

The deploy succeeded? I took no action here so I can’t take any credit. I’m still chasing the root cause of the sys transient.  
You didn’t do anything else but try to deploy again right?

---

<div class="post-metadata">

**Author:** ![avi](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/avi/32/1904_2.png) [@avi](https://forum.dfinity.org/u/avi)\
**Post date:** [June 15, 2021, 3:48am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/19 "2021-06-15T03:48:07Z")

</div>

The only operation I did was to recharge the wallet with 0.4 icp  
Then it succeeded after redeploying

The deployment failed until the wallet was recharged

---

<div class="post-metadata">

**Author:** ![prithvi](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prithvi](https://forum.dfinity.org/u/prithvi)\
**Post date:** [June 15, 2021, 3:49am UTC](https://forum.dfinity.org/t/couldn-t-send-message/5195/20 "2021-06-15T03:49:13Z")

</div>

What is your wallet cycle balance now?

[Next page](https://forum.dfinity.org/t/couldn-t-send-message/5195.md?page=2)
