more trouble with custom recipes

(1.20.1) { "criteria": { "crafted": { "trigger": "minecraft:recipe_unlocked", "conditions": { "recipe": "namespace:infinitewing" } } }, "requirements": [ [ "crafted" ] ], "rewards": { "function": "namespace:crafted/oncraft3" } } ignore the errors (in the image below), i am using an outdated extension for vs so it thinks everything is wrong. and even so in the files used for this recipe, there are no errors.' So a custom recipe, that just doesnt work. the function just never runs, i can craft the recipe yes but it just gives a knowledge book and doesnt replace it with what i want. I have multiple custom recipes but only this one doesnt work. Here are some hints -all files are saved -i am crafting the correct recipe -I have neither the recipe nor the advancement -Yes, i have reloaded after every change i made. feel free to ask questions regarding this if you cant see the issue immediatly
Continue to help post