Can't get the Analysis tab to load my PGN

Sort:
NotThePainter

I played a game on my phone, using Pass the Phone. I took the PGN from that game and saved it.

I'm trying to load that into chess.com/analysis. I paste it into the PGN field (or I upload by uploading the file) and "Add Game."

I get a red error banner across the top, saying.

Cannot load position because it is invalid. Every position must have exactly one king of each color, and the side to move must not be able to capture the enemy king.

What am I doing wrong?

Here's the PGN

[Event "OTB"]

[Site "Chess.com iPhone"]

[Date "2024.08.01"]

[Round "?"]

[White "White"]

[Black "Black"]

[Result "*"]

[FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"]

1.d4 d5 2.Bf4 Nc6 3.Nf3 Bf5 4.e3 e6 5.Bb5 Qd7 6.O-O a6 7.Bxc6 Qxc6 8.Nc3 Be7 9.Re1 Nf6 10.Ne5 Qd6 11.Nxf7 Bg4 12.Ne2 O-O 13.Nxd6 cxd6 14.h3 Bf5 15.Ng3 Be4 16.Nxe4 Nxe4 17.Qg4 h5 18.Qxe6+ Rf7 19.Qxd5 Nf6 20.Qxb7 Rff8 21.Qxe7 Rf7 22.Qxd6 Re8 23.Bg5 Ne4 24.Qg6 a5 25.Qxh5 Kf8 26.Qh8#  {*}

Martin_Stahl

Remove the spaces between your header fields

NotThePainter
Martin_Stahl wrote:

Remove the spaces between your header fields

Nope, I still get the same error.

NotThePainter

The file loads into stockfish just fine.

Martin_Stahl
NotThePainter wrote:
Martin_Stahl wrote:

Remove the spaces between your header fields

Nope, I still get the same error.

When I removed the extra spaces it loaded into Analysis on web without issue.

Martin_Stahl
NotThePainter

I see that it works but it doesn't work for me on the analysis page. After you paste the PGN, what do you click, I'm clicking "Add Game(s)" but there doesn't seem to be anything else.

Skerfy_McMurphy

Did anyone figure this out? I am having the same issue with a .pgn file.

Skerfy_McMurphy

Well, I loaded the file into Lichess, then copied the PGN out of Lichess and it worked on chess.com.

124Doleshsahu

Nice 👍

124Doleshsahu

Great