> For the complete documentation index, see [llms.txt](https://help.defisaver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.defisaver.com/general/troubleshooting/im-getting-an-issue-was-detected-with-this-transaction-that-would-cause-it-to-fail-error.md).

# I'm getting "An issue was detected with this transaction that would cause it to fail" error

A warning about detected issues with your attempted transaction can sometimes be seen at the transaction confirmation screen, similar to the example screenshot below.

<figure><img src="/files/e8Cey56mep2LO0H1RSPd" alt="" width="434"><figcaption></figcaption></figure>

This error means that there's something wrong with the logic of the transaction that would cause it to revert, and an additional indicator of such issues is the extraordinarily high transaction cost, as also visible in the screenshot above.

{% hint style="danger" %}
*Whenever you see this error **we DO NOT recommend proceeding** as it will almost certainly result in a failed transaction and needlessly wasted ETH on transaction fees, since gas is still paid for transaction execution, even if it ultimately reverts.*
{% endhint %}

There are a few things that you can try to resolve this:

* Try refreshing your page and making the same action again
* Try disabling any script-blocking extensions that you have enabled in your browser
* Try using a different browser
* Try using a different amount

If none of the above helps, please feel free to reach out to our team, either using the in-app help chat widget or through [our discord server](https://discord.gg/XGDJHhZ).

In cases where slippage settings might be preventing the transaction from succeeding, our interface will offer users an alternate swap route:

<figure><img src="/files/HMcf0JCzXjTspKEgS0oC" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
*Please note that this feature is not available on Maker and CurveUSD, so on these protocols, you'll still see the "An issue was detected..." warning even if slippage is the reason why.*
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.defisaver.com/general/troubleshooting/im-getting-an-issue-was-detected-with-this-transaction-that-would-cause-it-to-fail-error.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
