how to use tags in recipes??

Why isn't it working?


{
  "type": "minecraft:crafting_shaped",
  "category": "misc",
  "pattern": [
    "###",
    "###",
    "@@@"
  ],
  "key": {
    "@": [
      "minecraft:iron_nugget"
    ],
    "#": "#some_stuff:food"
  },
  "result": {
    "id": "minecraft:poisonous_potato",
    "components": {
      "minecraft:consumable": {},
      "minecraft:food": {
        "nutrition": 4,
        "saturation": 6
      },
      "minecraft:custom_model_data": {
        "strings": [
          "canned_food"
        ]
      },
      "minecraft:item_name": {
        "translate": "item.some_stuff.canned_food",
        "fallback": "Canned Food"
      }
    },
    "count": 6
  }
}

{
  "values": [
    "minecraft:apple",
    "minecraft:bread",
    "minecraft:cookie",
    "minecraft:melon_slice",
    "minecraft:pumpkin_pie",
    "minecraft:chorus_fruit",
    "minecraft:glow_berries",
    "minecraft:sweet_berries",
    "minecraft:beef",
    "minecraft:chicken",
    "minecraft:cod",
    "minecraft:mutton",
    "minecraft:porkchop",
    "minecraft:rabbit",
    "minecraft:salmon",
    "minecraft:cooked_beef",
    "minecraft:cooked_chicken",
    "minecraft:cooked_cod",
    "minecraft:cooked_mutton",
    "minecraft:cooked_porkchop",
    "minecraft:cooked_rabbit",
    "minecraft:cooked_salmon",
    "minecraft:tropical_fish",
    "minecraft:honey_bottle",
    "minecraft:cake"
  ]
}
Continue to help post