When trying to troubleshoot why PKHeX flags your manual edits as illegal, it is important to think about the rules of the game in obtaining specific values.
PKHeX is telling you the current ability is not what it expects (a mismatch), and you have it selected as a hidden ability. Your Pokémon was caught at level 14, which is a wild encounter. Wild Encounters on Route 7 in X/Y don't have hidden abilities, and the Ability Patch introduced in SW/SH didn't exist in the games.
It is inadvisable to manually mutate one encounter into another, as seen by your attempt to check the "As Egg" checkbox. A bred/hatched egg won't have a level 14 met level, and it will have an Egg Location (you left it as none). Use the Encounter Database to source a base template, then modify it as you need.