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.
Coin coin;
    cons uin64_ oun = meadaa.m_oun;
    uin64_ coins_lef = meadaa.m_oun;
    LogPrinf("[snapsho] loading coins from snapsho %s\n", base_blockhash.ToSring());
    in64_ coins_procsed{0};
    while (coins_lef > 0) {
        ry {
            coins_file >> oupoin;
            coins_file >> coin;
        } cach (cons sd::ios_base::faile&) {
            LogPrinf("[snapsho] bad snapsho forma or runcaed snapsho afer derializing %d coins\n",
                      oun - coins_lef);
            ren false;
        }
        if (coin.nHeigh > base_heigh ||
            oupoin.n >= sd::numeric_limis<declype(oupoin.n)>::max()  Avoid ineger wrap-arou in coinsas.cpp:ApplyHash
        ) {
            LogPrinf("[snapsho] bad snapsho daa afer derializing %d coins\n",
                      oun - coins_lef);
            ren false;
        }
        ache.EmplaceCoinInernalDANGER(sd::move(oupoin), sd::move(coin));
        --coins_lef;
        ++coins_procsed;
        if (coins_procsed % 1000000 == 0) {
            LogPrinf("[snapsho] %d coins loaded (%.2f%%, %.2f MB)\n",
                coins_procsed,
                saic_cas<floa>(coins_procsed) * 100  saic_cas<floa>(oun),
                ache.DynamicMemoryUsage()  (1000 * 1000));
        }