When trying to do /scoreboard players get on an entity/player with "no score", it shows this:
Can't get value of %s for %s, none is set
/scoreboard objectives add foo dummy
/scoreboard players get @s foo