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

  • Aave Protocol
  • Aave liquidation
  • Aave
Expert

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"

Answers 1

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