Diagnose an Aave v3 borrow rejected by siloed borrowing rules

Sufficient collateral and positive borrowing capacity do not guarantee that two debt assets may coexist. A siloed borrowing configuration restricts the combination of borrowed reserves for one account.

Check both sides of the requested combination

Read the borrower’s debt flags and the reserve configuration for each currently borrowed asset and for the requested asset. In the reference logic, an account already borrowing a siloed asset may borrow only that siloed asset; existing ordinary borrowing can block adding a siloed one.

case A: existing debt in siloed asset S; request new debt in T
case B: existing ordinary debt in T; request first debt in siloed S

Both illustrated requests can therefore fail the combination test even if the per-asset borrow cap has room. Adding more collateral alone does not remove an outstanding incompatible debt position. Verify the effective on-behalf borrower if credit delegation is involved.

Separate siloed borrowing from isolation mode

Siloed borrowing concerns which debts can coexist. Isolation mode concerns collateral and eligible debt under a ceiling. Inspect these controls independently, and keep the chain’s deployed validation version with the error report. github.com ValidationLogic.sol