> For the complete documentation index, see [llms.txt](https://docs.leather.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.leather.io/learn/why-transactions-fail-common-error-messages-and-their-solutions.md).

# Why Transactions Fail: Common Error Messages and Their Solutions

The common reasons Bitcoin and Stacks transactions fail or stall, and what to do about each one.

A transaction can fail before it is sent, wait unconfirmed, or confirm but fail on chain. These are the common causes for Bitcoin and Stacks transactions in Leather.

## Not enough funds

The balance must cover the amount and the fee. On Stacks, the fee is paid in STX, so a token transfer also needs STX for the fee, unless the transaction is sponsored. On Bitcoin, coins worth less than the fee to spend them do not count. See [Why isn't all my Bitcoin balance available or spendable?](/balances/why-isnt-all-my-bitcoin-balance-available-spendable.md).

**Fix:** add funds, or send a smaller amount.

## Fee too low

A transaction with a low fee rate waits in the mempool while others pay more. A node can drop it after a long wait.

**Fix:** raise the fee. In Leather, use "Increase fee" on the pending transaction in the "Activity" tab. See [Increase Transaction Fee](/transactions/increase-fee.md) and [Understand Pending Transactions](/transactions/pending-transactions.md).

## Stuck Stacks transactions

Stacks processes each account's transactions in nonce order. If one transaction is stuck, the ones after it wait too.

**Fix:** raise the fee of the stuck transaction, or cancel it. See [Configure Transaction Nonces](/transactions/configure-transaction-nonces.md).

## Rejected by a contract

A Stacks transaction can confirm and still fail. The contract can return an error, or a post-condition can stop the transaction because it would move different assets than you approved. The explorer then shows the transaction as failed, and the fee is still paid.

**Fix:** read the error in the explorer and check the app's instructions before you try again.

## Price moved during a swap

A swap reverts if the price moves so far that you would receive less than "Min. receive".

**Fix:** try again, or raise the slippage on the review screen if you accept a worse price.

![Slippage row on the swap review screen](https://4209755586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaSQhveafXrLjROsW3JZ1%2Fuploads%2FNUnBkQqe6lOze1O0RizH%2Fe-support-why-transactions-fail-common-error-messages-and-their-solutions-01-swap-review-slippage.png?alt=media\&token=72cfe75b-ff86-483b-82d6-2a6106ff11b4)

## Wrong address

A transaction to a wrong but valid address does not fail; it arrives there and cannot be reversed. Paste addresses, check them before you confirm, and send each asset only to an address of its network.
