Is one of the knights pinned?
Bug in PGN?

That is one of the annoyances of PGN: to be strictly correct generating it or parsing it you need to not only record the board state, but have a move generator and legality checker.
If one of the knights is not pinned, there is an error, but e7 in front of an uncastled king would be likely for a pin.
If you want a check, post the PGN.

Yeah you guys are right, one of the knights was pinned! Oh man.. parsing PGN is hard
Problem solved, thanks
I have a game where a knight is placed on B8 and a knight is placed on E7, now the move in PGN says Nc6, how do I know which knight was moved? Shouldn't the PGN say "Nbc6" or something?