Modded command not working in my function

I am using the realistic airdrop mod, the command worked perfectly fine when performed in game, but for some reason the datapack doesn´t load correctly- what is my mistake?

Continue to help post