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

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](https://github.com/aave/aave-v3-core/blob/f3e037b3638e3b7c98f0c09c56c5efde54f7c5d2/test-suites/atoken-edge.spec.ts#L165), it means the user has no stable or variable debt to liquidate;