does anybody know why this doesnt trigger the function nether_survival:spawn in nether?

  "display": {
    "icon": {
      "id": "minecraft:grass_block"
    },
    "title": "",
    "description": {
      "translate": "\"advancements.story.root.title\"",
      "with": [],
      "extra": [
        {
          "translate": "\"advancements.story.root.description\""
        }
      ]
    },
    "frame": "task",
    "show_toast": false,
    "announce_to_chat": false,
    "hidden": true
  },
  "criteria": {
    " ": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": {
          "type": [],
          "location": {
            "dimension": "minecraft:overworld"
          }
        }
      }
    }
  },
  "requirements": [],
  "rewards": {
    "function": "nether_survival:spawn_in_nether",
    "loot": []
  }
}```
Continue to help post