i am using mame 220 off the mame site and just best my score of 52,000 and still did not upload score will play again and get the log file for you.just got 77,000 and did not upload it. here is the log.
Debug 2020-04-25 11-11-29 AM.log
found this error in log file if it helps.
ERROR: unable to find a structure from the xml definition that matches size and hiscore.dat definition' for game 'ccastles'