Jigsaw Data pack

Why is my jigsaw not generating a structure, and I am receiving the error: "Failed to handle packet net.minecraft.network.protocol.game.ServerboundJigsawGeneratePacket@28b1bd2, suppressing error java.lang.IllegalStateException: Missing key in ResourceKey[minecraft / minecraft /template_pool]: ResourceKey[minecraft /template_pool / dungeon ]" in the output log? Thank you for whoever responds this has been stressing me out!
Continue to help post