Issues with custom enchants

I am trying to add custom enchantments to a datapack but it is not working, additionally when I try to install someone else's datapack with new data-driven enchantments it doesn't work either.

Continue to help post