Custom Armor 1.21 ?

Hi everyone! I'm new to datapacks, and I'm trying to test things, I'm trying to add a copper armor, I've done it with a dyed leather armor, custom armor values and custom max damage, wich is good enough, but I was trying to make it a little better, and put a custom texture for the armor too. I'm using a custom trim_material and trim_pattern to do this, I think I have all in the resource pack looking good. Then I was trying to test it, modified the chestplate recipe to add my custom trim_material and trim_pattern, but the recipe doesn't even load and shows the following error in he debugger:
Continue to help post