# Ledger canister claiming to be out of cycles when in fact it has 50T+ cycles

**URL:** <https://forum.dfinity.org/t/ledger-canister-claiming-to-be-out-of-cycles-when-in-fact-it-has-50t-cycles/34824>\
**Category:** Developers\
**Tags:** Bug\
**Created:** [September 6, 2024, 10:26pm UTC](https://forum.dfinity.org/t/ledger-canister-claiming-to-be-out-of-cycles-when-in-fact-it-has-50t-cycles/34824 "2024-09-06T22:26:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theoman42](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/theoman42/32/23829_2.png) [@theoman42](https://forum.dfinity.org/u/theoman42)\
**Post date:** [September 6, 2024, 10:26pm UTC](https://forum.dfinity.org/t/ledger-canister-claiming-to-be-out-of-cycles-when-in-fact-it-has-50t-cycles/34824/1 "2024-09-06T22:26:08Z")

</div>

3rd Update: I bit the bullet and burned 193 ICP for 1000T cycles. We are back in business 🥲

2nd Update: I inadvertently set cycles\_for\_archive\_creation to 1000T cycles… Can this be updated?

Edit: I am reading that it is potentially caused by the issue addressed in the post below, but even then I have 50T cycles in the canister, so this can archive creation shouldn’t be a problem, correct?

> [@Canister call requests 10T cycles](https://forum.dfinity.org/t/canister-call-requests-10t-cycles/23330/4):
>
> It’s most likely the cycles used to create and top-up an archive canister. In the guide there’s a parameter for how many cycles to use (CYCLES\_FOR\_ARCHIVE\_CREATION) which is set to 10T I think

* * *

Candid for icrc ledger:  
[https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=7xkvf-zyaaa-aaaal-ajvra-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=7xkvf-zyaaa-aaaal-ajvra-cai)

This is the error I get when I try to start a game or withdraw tokens (burn and icrc1\_transfer methods) on partyhats.xyz.

When I interact with the candid, everything is fine. What could be causing this issue?

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/9/a/9a9128cae3bef14a9018ab22143952eb3c7e0ba8.png)
