KMS Troubleshooting

Fix common Tatum KMS errors (tron.tx.expired, Malformed UTF-8 data, 500 when signing mainnet transactions) and send support the KMS report it needs.

Use this page when Tatum KMS fails to sign or broadcast a transaction, or reports an error. KMS signs transactions on your own server, so most errors come from its setup: the password, the four-eye principle on mainnet, or how often it checks for pending transactions. If none of the issues below fits, report the issue to support with a KMS report.

📘

Tatum KMS is a legacy product.

Start here

The most common KMS issues:

Quick checks

  • Latest version. Run the latest KMS version.
  • Password. Use the correct KMS password. It unlocks the encrypted wallet storage file (wallet.dat by default).
  • Four-eye principle. On mainnet, start KMS with --externalUrl pointing to your transaction validation server.
  • Check interval. Check for pending transactions more often than every 60 seconds (the default --period is 5 seconds), so TRON transactions don't expire before broadcast. See Checking pending transactions.

Report an issue to support

Tatum has no access to your KMS instance, so the KMS report is how support sees your setup. Check the KMS General FAQ first, then include the following in your ticket.

Required information

  1. Latest KMS version: update to the latest version of Tatum KMS on npm and reproduce the issue with it.

  2. KMS report: run the report command with the signature IDs involved. The report lists your KMS and Node.js versions, the storage type of each signature ID (mnemonic or private key) and any warnings. For all commands, see the Tatum KMS GitHub repository.

    tatum-kms report e3015fc0-2112-4c8a-b8bf-353b86f63ba5,11115fc0-2112-4c8a-b8bf-353b86f63111

    Example output:

    {
      "system": {
        "kmsVersion": "7.0.6",
        "nodeVersion": "v18.18.2",
        "store": {
          "type": "LOCAL",
          "exists": true
        }
      },
      "wallets": {
        "e3015fc0-2112-4c8a-b8bf-353b86f63ba5": {
          "type": "PRIVATE_KEY",
          "chain": "BTC",
          "testnet": true
        },
        "11115fc0-2112-4c8a-b8bf-353b86f63111": {
          "type": "MNEMONIC",
          "chain": "ETH",
          "testnet": true,
          "warnings": [
            "No xpub found"
          ]
        }
      },
      "apiKey": "t-6111***************************************222222",
      "warnings": [
        "Wallets file is not accessible"
      ]
    }
  3. Error and original request: the error KMS returned and the original request, including the payload.

🚧

Tickets without a KMS report are rejected, and so are tickets from a KMS version older than the current one.

What Tatum support can't see

KMS is self-custodial: Tatum doesn't store your private keys or mnemonics and has no access to your KMS instance, by design.

  • Transactions signed with KMS bypass Tatum's logs and go directly to the blockchain.
  • A malformed transaction sent for signing can still get a successful response from the Tatum API or SDK, because Tatum doesn't log the payloads of successful (HTTP 200) requests.
  • If the blockchain rejects the transaction, the error goes to your KMS instance, not to Tatum.
  • Keep the original request logs, including the payload, if you want Tatum to help troubleshoot a failed transaction.
❗️

Back up wallet.dat and your KMS password. The wallet storage file is encrypted with your password and stored on your server. If you lose the file or the password, you permanently lose access to the mnemonics and private keys in it, and Tatum can't recover them. See the KMS disclaimer and KMS Security Basics.

For support hours, where to find your Account ID and how to open a ticket, see Contacting Support.


Did this page help you?