"That position is not loaded" anyone know why?

I'm trying to place a custom structure in the end that's 7x7 wide and 6 blocks tall at the position -3 65 -3. Command: /place template 1block:end_portal_base -3 65 -3

I was in the end when I typed the command, and even forceloaded the position. It doesn't work when used in a datapack with the /execute in the_end command. I tried adding a layer of light blocks in the dimension/the_end.json file and that didn't work. I was able to manually place it with a physical structure block in the exact position perfectly, and I can run fill and setblock commands perfectly as well.

Is it because something I changed the dimension or dimension_type json?

dimension/the_end.json

  "type": "minecraft:the_end",
  "generator": {
    "type": "minecraft:flat",
    "settings": {
      "biome": "minecraft:the_end",
      "layers": [
      ]
    }
  }
}```

**dimension_type/the_end.json**
```{
  "ambient_light": 0,
  "bed_works": false,
  "coordinate_scale": 1,
  "effects": "minecraft:the_end",
  "fixed_time": 6000,
  "has_ceiling": false,
  "has_raids": true,
  "has_skylight": false,
  "height": 64,
  "infiniburn": "#minecraft:infiniburn_end",
  "logical_height": 64,
  "min_y":64,
  "monster_spawn_block_light_limit": 0,
  "monster_spawn_light_level": {
    "type": "minecraft:uniform",
    "max_inclusive": 7,
    "min_inclusive": 0
  },
  "natural": false,
  "piglin_safe": false,
  "respawn_anchor_works": false,
  "ultrawarm": false
}```
Continue to help post