lichess.org
Donate

Invalid PGN

I'm new to the site and wanted to import a PGN of a game I recently played on another application. However, it's saying the PGN is invalid. Could someone please explain why?
Here's the PGN:

[Event "AI Factory's Chess"]
[Site "Android Device"]
[Date "2014.04.23"]
[Round "1"]
[White "You"]
[Black "Cpu (3)"]
[PlyCount "69"]
[Result "1-0"]

1. e2e4 e7e5 2. Qd1f3 Ng8f6 3. Bf1c4 Nb8c6 4. Nb1c3 h7h6 5. Qf3d3 d7d6
6. Ng1f3 a7a6 7. Nf3xe5 Rh8g8 8. Ne5xf7 Bc8d7 9. Nf7xd8 Rg8h8 10. Nd8e6 Bd7xe6
11. Bc4xe6 Bf8e7 12. Nc3d5 Ke8d8 13. Nd5xe7 Kd8xe7 14. Qd3c4 b7b5 15. Qc4xc6 Ke7xe6
16. d2d3 Ra8c8 17. Bc1f4 Ke6e7 18. e4e5 Nf6e8 19. Qc6xa6 Rh8f8 20. Bf4g3 Rc8b8
21. Qa6a7 Rb8d8 22. Bg3h4+ g7g5 23. Bh4g3 Rf8f7 24. Qa7a6 b5b4 25. h2h4 b4b3
26. a2xb3 Rf7g7 27. Qa6b5 Rd8d7 28. Ra1a8 Rg7f7 29. Qb5b4 Rf7f8 30. Ke1d1 Rf8f5
31. Rh1e1 Rd7d8 32. e5xd6+ Ke7d7 33. Qb4a4+ Rf5b5 34. Qa4xb5+ c7c6 35. Qb5f5# 1-0

Thanks!
[Event "AI Factory's Chess"]
[Site "Android Device"]
[Date "2014.04.23"]
[Round "1"]
[White "You"]
[Black "Cpu (3)"]
[Result "1-0"]
[WhiteElo "1500"]
[BlackElo "1500"]
[PlyCount "69"]
[Variant "Standard"]
[Annotator "none"]

Try that. I could not find any issue so maybe it is due to missing some of the [things that go in these brackets] or the order.
Seems lichess's pgn parser doesn't like moves that specify a start square. This works:

[Event "AI Factory's Chess"]
[Site "Android Device"]
[Date "2014.04.23"]
[Round "1"]
[White "You"]
[Black "Cpu (3)"]
[PlyCount "69"]
[Result "1-0"]

1. e4 e5 2. Qf3 Nf6 3. Bc4 Nc6 4. Nc3 h6 5. Qd3 d6 6. Nf3 a6 7. Nxe5 Rg8 8.
Nxf7 Bd7 9. Nxd8 Rh8 10. Ne6 Bxe6 11. Bxe6 Be7 12. Nd5 Kd8 13. Nxe7 Kxe7
14. Qc4 b5 15. Qxc6 Kxe6 16. d3 Rac8 17. Bf4 Ke7 18. e5 Ne8 19. Qxa6 Rf8
20. Bg3 Rb8 21. Qa7 Rd8 22. Bh4+ g5 23. Bg3 Rf7 24. Qa6 b4 25. h4 b3 26.
axb3 Rg7 27. Qb5 Rd7 28. Ra8 Rf7 29. Qb4 Rf8 30. Kd1 Rf5 31. Re1 Rd8 32.
exd6+ Kd7 33. Qa4+ Rb5 34. Qxb5+ c6 35. Qf5# 1-0

This topic has been archived and can no longer be replied to.