# Working with cycles in a work network

**URL:** <https://forum.dfinity.org/t/working-with-cycles-in-a-work-network/7751>\
**Category:** Developers\
**Created:** [October 7, 2021, 2:07pm UTC](https://forum.dfinity.org/t/working-with-cycles-in-a-work-network/7751 "2021-10-07T14:07:07Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![willyhuang18](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/willyhuang18/32/5608_2.png) [@willyhuang18](https://forum.dfinity.org/u/willyhuang18)\
**Post date:** [May 9, 2022, 9:03pm UTC](https://forum.dfinity.org/t/working-with-cycles-in-a-work-network/7751/22 "2022-05-09T21:03:29Z")

</div>

Hi, Mr. Erics Wanson  
As I said, I was following the instruction on the [Cycles Faucet | Internet Computer Developer Portal](https://smartcontracts.org/docs/current/developer-docs/quickstart/cycles-faucet/), it used to be Github, it is easier to redeem, but it changes to Twitter, which is more complicated I think. after I follow along, I got this error, and the system auto marked that I had already redeemed the cycles, but I don’t even have the wallet to keep my cycles, that was when I ask for help in the beginning. do you have any idea what is the exact process to redeem cycles by signing in with Twitter, like what I need before redeeming, etc. Sorry to bother you, Thank you

 ![20220501114623](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/2X/4/406877881cb46ba99ad7ec5e9568b37d5501a893.png)

---

<div class="post-metadata">

**Author:** ![ericswanson](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/ericswanson/32/622_2.png) [@ericswanson](https://forum.dfinity.org/u/ericswanson)\
**Post date:** [May 9, 2022, 9:23pm UTC](https://forum.dfinity.org/t/working-with-cycles-in-a-work-network/7751/23 "2022-05-09T21:23:40Z")

</div>

Okay. I just followed the linked instructions and everything worked as described. My guess is that when you tried to redeem your cycles, the cycles faucet itself was out of cycles. If you try to go through the steps again, what happens?

---

<div class="post-metadata">

**Author:** ![willyhuang18](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/willyhuang18/32/5608_2.png) [@willyhuang18](https://forum.dfinity.org/u/willyhuang18)\
**Post date:** [May 9, 2022, 9:32pm UTC](https://forum.dfinity.org/t/working-with-cycles-in-a-work-network/7751/24 "2022-05-09T21:32:32Z")

</div>

It said the code is expired or already redeemed. I was getting errors on the redeem command. On the redeem command, do you put your canister Id, or do you just copy and paste the command it gave you? I couldn’t redeem it because I didn’t set up the wallet? I was just not sure what is pre-work for the redeem, the Github process was asked for the wallet but they auto-set up the wallet for the redeem.

---

<div class="post-metadata">

**Author:** ![ericswanson](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/ericswanson/32/622_2.png) [@ericswanson](https://forum.dfinity.org/u/ericswanson)\
**Post date:** [May 9, 2022, 9:49pm UTC](https://forum.dfinity.org/t/working-with-cycles-in-a-work-network/7751/25 "2022-05-09T21:49:09Z")

</div>

You type the redeem command as-is. It outputs the canister ID. Then in the following commands, you replace \<canister id\> with your canister id.

I can tell from your screenshot that you did this properly. Unfortunately, the cycles faucet was out of cycles at the time that you ran the command. Unless you can get a new code to redeem by starting the steps over, the next step would probably be to go to [https://support.dfinity.org/hc/en-us](https://support.dfinity.org/hc/en-us) .

---

<div class="post-metadata">

**Author:** ![ericswanson](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/ericswanson/32/622_2.png) [@ericswanson](https://forum.dfinity.org/u/ericswanson)\
**Post date:** [May 9, 2022, 9:53pm UTC](https://forum.dfinity.org/t/working-with-cycles-in-a-work-network/7751/27 "2022-05-09T21:53:39Z")

</div>

One more thing. The canister id in the error response isn’t actually your new canister id. It’s the canister ID of the management canister, which is reporting the error. If the redeem call succeeded, the output would look like this:

```auto
(principal "sasdf-asdfs-sdfgs-sdfgs-gfhjf")

```

where the part in quotes is your canister ID.

---

<div class="post-metadata">

**Author:** ![willyhuang18](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/willyhuang18/32/5608_2.png) [@willyhuang18](https://forum.dfinity.org/u/willyhuang18)\
**Post date:** [May 9, 2022, 10:44pm UTC](https://forum.dfinity.org/t/working-with-cycles-in-a-work-network/7751/28 "2022-05-09T22:44:24Z")

</div>

I never get the new canister ID after I input the command, I did try the new code to redeem, but it getting the same error on the screenshot, it still saying that I’m out of cycles, that’s why I’m kinda confused there. I had looked at the link you provide, I probably start from there. Thank you for the help

[Previous page](https://forum.dfinity.org/t/working-with-cycles-in-a-work-network/7751.md?page=1)
