getrawtransaction is error #9040

issue truongthaison opened this issue on October 29, 2016
  1. truongthaison commented at 11:20 AM on October 29, 2016: none

    I use VPS centos 7, and i install bitcoind follow: https://www.ringingliberty.com/bitcoin/

    this is file bitcoin.conf:

    rpcuser=bitcoinrpc
    rpcpassword=My_password
    daemon=1
    rpctimeout=30
    rpcport=8332
    gen=0
    txindex=1
    keypool=100
    

    Then i ran: bitcoind -reindex -deamonthen ran: bitcoin-cli getrawtransaction string_txid

    i get error:

    error code: -5
    error message:
    No information available about transaction
    

    I use: Bitcoin Core Daemon version v0.13.0.0-ga402396

    I don't know wrong?

  2. MarcoFalke commented at 2:56 PM on October 29, 2016: member

    Unrelated thought: We should include in the error message if txindex is set.

  3. fanquake added the label RPC/REST/ZMQ on Oct 30, 2016
  4. MarcoFalke commented at 4:33 PM on October 30, 2016: member

    @Vagabondtq What is the length of the string_txid? Did you accidentally remove or add chars to the string?

  5. knoxcard commented at 7:14 PM on October 30, 2016: contributor

    Did you run the command exactly as "bitcoin-cli getrawtransaction string_txid"

    string_txid must be a hexadecimal string

  6. MarcoFalke commented at 9:43 PM on November 2, 2016: member

    @Vagabondtq Can you try with current master again or provide further information to my previous question, please?

  7. fanquake closed this on Aug 13, 2017

  8. dougstrong77 commented at 12:56 PM on August 14, 2017: none

    Can some one help me i dont under stand any thing i must be stupid how do i know that a transaction ia mine im looking at when i log into the block chain

  9. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me