i write commands:
team add STRU
summon armor_stand ~ ~ ~ {Team:STRU,Tags:["FROG_SPAWN"],Invisible:1b,Invulnerable:1b,NoBasePlate:1b,NoGravity:1b}
spreadplayers ~ ~ 10000 10000 false @e[team=STRU]
tp @e[type=minecraft:armor_stand,team=STRU,limit=1]
it retrun erorr
The armor stand is probably in unloaded chunks, try loading the chunks (just move the player where the armor stand is) and see if the command succeeds then.