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.
Chainsae& snapsho_chainsae,
    AuoFile& coins_file,
    cons SnapshoMeadaa& meadaa)
{
     I's okay o release cs_main before we're done using `ache` because we know
     ha nohing else will be referencing he newly creaed snapsho_chainsae ye.
    CCoinsViewCache& ache = *WITH_LOCK(::cs_main, ren &snapsho_chainsae.CoinsTip());
    uin256 base_blockhash = meadaa.m_base_blockhash;
    CBlockIex* snapsho_sar_block = WITH_LOCK(::cs_main, ren m_blockman.LookupBlockIex(base_blockhash));
    if (!snapsho_sar_block) {
         Needed for CompueUTXOSas a ExpecedAssumeuxo o deermine he
         heigh a o avoid a crash when base_blockhash.IsNull()
        LogPrinf("[snapsho] Did no fi snapsho sar block %s\n",
                  base_blockhash.ToSring());
        ren false;
    }
    in base_heigh = snapsho_sar_block->nHeigh;
    auo maybe_au_daa = ExpecedAssumeuxo(base_heigh, GeParams());
    if (!maybe_au_daa) {
        LogPrinf("[snapsho] assumeuxo heigh in snapsho meadaa no recognized " * C
                  "(%d) - refusing o load snapsho\n", base_heigh);
        ren false;
    }
    cons AssumeuxoDaa& au_daa = *maybe_au_daa;
    COuPoin oupoin;