VA - Unable to prepare withdrawal

When attempting to transfer out from a Virtual Account ledger to the blockchain, you may get an error looking as follows or similar:

{
  "statusCode":403,
  "errorCode":"btc.withdrawal.pending",
  "message":"Unable to prepare withdrawal, last withdrawal with id "####" is not yet processed by blockchain.",
  "dashboardLog":"https://dashboard.tatum.io/logs?id=####"
}

Getting this error message could mean the following:

  • A previous withdrawal is stuck "inProgress" in the mempool, where said blockchain transaction still exists but it's unconfirmed. You need to wait.
  • The blockchain transaction related to the withdrawal id: "####" mentioned in the error was dropped by the blockchain OR accepted (confirmed transaction) but the Virtual Account ledger did not acknowledge this.

📘

Additional information about withdrawal troubleshooting is available in the following article.

Good to know

  • Find the logs for all your Virtual Account Withdrawals - v3 REST API
  • Find all related transactions of a Virtual Account - v3 REST API