Interesting error... you only have switching or transparent mode. With this error it must mean the default its not in switching mode?
I will suggest you try setting the l2-learning mode switching:
# set protocols l2-learning global-mode
# commit
Let me know if that resolves it.