# Transaction error. exception thrown in cantract code

**URL:** <https://forum.badger.finance/t/transaction-error-exception-thrown-in-cantract-code/2975>\
**Category:** General Discussion\
**Created:** [February 7, 2021, 6:41am UTC](https://forum.badger.finance/t/transaction-error-exception-thrown-in-cantract-code/2975 "2021-02-07T06:41:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgeandy](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@georgeandy](https://forum.badger.finance/u/georgeandy)\
**Post date:** [February 7, 2021, 6:41am UTC](https://forum.badger.finance/t/transaction-error-exception-thrown-in-cantract-code/2975/1 "2021-02-07T06:41:46Z")

</div>

![微信图片_20210207143308](https://canada1.discourse-cdn.com/flex034/uploads/badgerdao/original/1X/0c03d620fdec5a0c87854381a93113b2b12340fa.png)

i want to claim my digg rewards ,but the gas fee is so expensive ,and i saw the  
warning: transaction error. exception thrown in cantract code

how shuld i do??

---

<div class="post-metadata">

**Author:** ![Devin](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.badger.finance/devin/32/596_2.png) [@Devin](https://forum.badger.finance/u/Devin)\
**Post date:** [February 7, 2021, 2:01pm UTC](https://forum.badger.finance/t/transaction-error-exception-thrown-in-cantract-code/2975/2 "2021-02-07T14:01:21Z")

</div>

Ask in support channel in discord.

---

<div class="post-metadata">

**Author:** ![KZFlyer](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.badger.finance/kzflyer/32/859_2.png) [@KZFlyer](https://forum.badger.finance/u/KZFlyer)\
**Post date:** [February 9, 2021, 2:49am UTC](https://forum.badger.finance/t/transaction-error-exception-thrown-in-cantract-code/2975/3 "2021-02-09T02:49:13Z")

</div>

If I recall correctly it is an error when MetaMask is calculating the gas needed to process the transaction. It’s unfortunately been around for years and seems like no ones been able to fix it. As long as you actually have the ETH to process the transaction, I think you just need to try again. Maybe wait a minute or two, or wait until gas price changes slightly, that should kick new calculation with a new value.
