If the /execute command is being used to run /Summon, even if you specify rotated as, you can't have an entity both named and rotted. For example “Run summon bat Sam ~~~~~” or” Run summon bat Sam ~~~ facing at@s” when using /Execute will bring up a syntax error even when using rotated as, even though doing the exact same thing outside of commands works fine.
Comments 2
Hi!
Thank you for your report!
The command’s arguments do not match its documentation, thus a syntax error is being displayed. Please consider visiting summon Command | Microsoft Learn for detailed explanation.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
When I mean commands, I mean using the in game chat.