Invalid Selector Argument 'Type=armor_stand'

In Minecraft Java Edition version 1.12.2, I attempted to execute:

/entitydata @e[Type=armor_stand,r=5] {Invisible:1}

This yielded an error:

Invalid Selector Argument'Type=armor_stand'

What is wrong with the target selector?


Solution 1:

Try type instead of Type. Entity selectors are case sensitive.