So I am trying to make a custom ravager boss what will spawn at certain coordinates and has a custom health of 500 hearts. To automate this process, i decided to put it in a skript loop so that it would be done automatically. I think my problem is due to this command having a lot of quotes, but here is my code and error.
Code:
every 1 minute:
execute console command "/minecraft:summon minecraft:ravager 285 4 -850 {CustomName:"\"Ravager Boss\"",Attributes:[{Name:"generic.max_health",Base:1000}],Health:1000}"