Your node does not have txindex enabled. Without it, you can only lookup wallet, mempool, and recently confirmed transactions by their txid. Searching for non-wallet transactions that were confirmed more than 3 blocks ago is only possible if the confirmed block height is available.