# dApp Errors

## ERC20CALLFAILED\_SAFETRANSFER (SVY103)

An ERC20 failed to transfer during the transaction. Ensure you have the balance of tokens you are trying to transfer.

## ERC20CALLFAILED\_SAFETRANSFER (SVY105)

An ERC20 failed to transfer during the transaction. Ensure you have given the contract enough approval to transfer the tokens and ensure you have the balance of tokens you are trying to transfer.

## SPM\_UNDERCOLLATERALIZED (SVY219)

This error is raised when the action you are attempting will result in your debt being undercollateralized. To resolve this issue, try repaying your debt or changing the amount in your action.

### Are you using Savvy Loan Migration?

You are unable to migrate because fees make the debt slightly undercollateralized. Please repay debt of at most half the fee amount to allow for migration.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.savvydefi.io/additional-resources/dapp-errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
