why doesn't "minecraft:stained_glass" tag work in a custom recipe?

{ "type": "minecraft:crafting_shaped", "key": { "#": { "tag": "minecraft:stained_glass" }, "X": { "item": "minecraft:iron_ingot" }, "G": { "item": "tfod:gas_can" } }, "pattern": [ "XXX", "X#X", "GXG" ], "result": { "item": "tfod:gas_mask" } } ive tried other tags and they work but "minecraft:stained_glass" doesnt whatsoever! (VERSION 1.19.2)
Continue to help post