Bitcoin: Transaction Broadcast Error

Modified on Fri, 10 Nov 2023 at 12:11 PM

When broadcasting a BTC transaction, you may encounter errors looking as follows:

    "statusCode": 403,
    "errorCode": "btc.blockchain.broadcast.error",
    "message": "Unable to broadcast transaction.",
    "cause": "Request failed with status code 500"

How to troubleshoot

To troubleshoot, you have to check how was the transaction made, "inputs", "outputs" and "amounts".

Example request

//Endpoint: "/v3/bitcoin/broadcast"
  "txData": "020000000001af4800000000000016001419619f650a88532d25fed24dc06aada4a0cb238d00000000",
  "signatureId": "654cf9d2ca22c5a2a9c###" // Tatum KMS related
  • Take the raw txData and use the Bitcoin RPC method testmempoolaccept.
    Example request:
    curl -X POST -H "Content-Type: application/json" -d '{
        "id": "1",
        "jsonrpc": "2.0",
        "method": "testmempoolaccept",
        "params": [
        "jsonrpc": "2.0",
        "error": {
            "code": -32000,
            "message": "Server error"
    Based on the response, the transaction payload was built improperly. Due to this, the blockchain won't accept it. In this case, it is best to review how you built your transaction based on inputs, outputs and amounts.
  • Decode the transaction using a reliable blockchain explorer, such as BlockCypher.
    Analyze the decoded transaction to ensure its structure and content are correct.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article