I just restarted the computer but it didn't solve the problem.
As for mistakes, I can't tell you, because I've never had to deal with this kind of thing so I don't understand much.
I ran "testing factorio leaderboard as console.bat", and there were no errors other than information messages and so I ran factorio and played a new game for a few minutes, then I went to check the dashboard but there was nothing.