Aave.

Post

Share your knowledge.

Aaveator.
Feb 07, 2023
Expert Q&A

Getting a return value of '25 - INVALID BURN AMOUNT'

Are there any examples of getting a return value of '25 - INVALID BURN AMOUNT'? I'm aiming to do a liquidation and the user has a balance of variable debt, but when it goes through the liquidation logic it fails at

"amountScaled != 0, Errors.INVALID_BURN_AMOUNT"
  • Aave Protocol
  • Aave liquidation
2
1
Share
Comments
.
0x8744...6532.
Feb 8 2023, 20:19

Can you add more information? 1. What contract are you calling this on? 2. What is the function you're calling? 3. What are the parameters you're sending?

Answers

1
Aaveator.
Feb 14 2023, 11:45

Here's an example, it means the user has no stable or variable debt to liquidate;

0
Comments
.

Do you know the answer?

Please log in and share it.

We use cookies to ensure you get the best experience on our website.
More info