why wont this code see the attributes?

{ "type": "minecraft:crafting_shaped", "pattern": [ "#S#", "IMD", "#G#" ], "key": { "#": { "item": "minecraft:disc_fragment_5" }, "S": { "item": "minecraft:stone_sword" }, "I": { "item": "minecraft:iron_sword" }, "M": { "item": "minecraft:music_disc_pigstep" }, "D": { "item": "minecraft:diamond_sword" }, "G": { "item": "minecraft:golden_sword" } }, "result": { "id": "minecraft:music_disc_pigstep", "count": 1, "components": { "minecraft:attribute_modifiers": { "modifiers": [ { "type": "minecraft:generic.attack_damage", "id": "", "amount": 1.5, "operation": "add_value" } ] }, "minecraft:custom_model_data": { "floats": [ 1 ] }
}
} } I used this code to make a disc with gravity and speed attributes but for some reason there is an error with them. I did this before in the 1.21.1 and it worked but when I put it in 1.21.4 it didn't work. anyone have an idea?
Continue to help post