I am playing Minecraft on a Nintendo Switch (creative mode with cheats activated) and I am trying to give a barrier block, but for some reason that doesn't work. I am using the command:
/give MYMINECRAFTNAME barrier
and I get a "syntax error unexpected >>barrier<<"
If I do the same with tnt or diamond it works just fine.
Why doesn't this command work and how can I get it to work?