Message
Instruction tries to borrow reference for an account which is already borrowed
What it means
Kit's typed wrappers around the runtime's InstructionError variants. The same errors exist in the legacy format; see the linked page for causes and fixes.
What to do
- The
indexin the context is the failing instruction's position in the transaction. INSTRUCTION_ERROR__CUSTOMcarries the program's own errorcode; this site decodes it.
This wraps the on-chain error AccountBorrowFailed, which has its own page with causes and fixes.