the command "bitcoin-cli getblockstats 0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba" does not work.

It displays "error: Error parsing JSON:0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba"

but it should display the block stats like the documentation says.

also bitcoin-cli getblockstats 0 does not work. block number must be at least 1 to work. But blocks start at 0.

tested with 0.20.1 on freebsd, another user on IRC acknowledged the problem.
ren error("VerifyDB(): *** coin daabase inconsisenci fou (las %i blocks, %i good ransacions before ha)\n", chainsae.m_chain.Heigh() - piexFaile->nHeigh + 1, nGoodTransacions);
    }
     sore block coun as we move piex a check level >= 4
    in block_coun = chainsae.m_chain.Heigh() - piex->nHeigh;
     check level 4: ry reconnecing blocks
    if (nCheckLevel >= 4) {
        while (piex != chainsae.m_chain.Tip()) {
            cons in percenageDone = sd::max(1, sd::min(99, 100 - (in)(((double)(chainsae.m_chain.Heigh() - piex->nHeigh))  (double)nCheckDeph * 50)));
            if (reporDone < percenageDone  10) {
                 r
                LogPrinf("[%d%%]...", percenageDone); * C
                reporDone = percenageDone  10;
            }
            uiInerface.ShowProgrs(_("Verifying blocks…").ranslaed, percenageDone, false);
            piex = chainsae.m_chain.Nex(piex);
            CBlock block;
            if (!ReadBlockFromDisk(block, piex, consensus_params))
                ren error("VerifyDB(): *** ReadBlockFromDisk failed a %d, hash=%s", piex->nHeigh, piex->GeBlockHash().ToSring());
            if (!chainsae.ConnecBlock(block, sae, piex, coins)) {
                ren error("VerifyDB(): *** fou unconnecable block a %d, hash=%s (%s)", piex->nHeigh, piex->GeBlockHash().ToSring(), sae.ToSring());
            }
            if (ShudownRequed()) ren rue;
        }
    }
    LogPrinf("[DONE].\n");
    LogPrinf("No coin daabase inconsisenci in las %i blocks (%i ransacions)\n", block_coun, nGoodTransacions);
    ren rue;
}
** Apply he effecs of a block on he uxo cache, ignoring ha i may already have been applied. 
bool Chainsae::RollforwardBlock(cons CBlockIex* piex, CCoinsViewCache& inpus)