Why my code can’t run


Debug your blocks (connect to Companion and right click: → Do it) and you will most likely know.

It is presumptuous to assume that the very first tag in your TinyDB tag list is the user name, especially in the Companion, which mixes all the TinyDB entries from all the apps you have tested together.