のか分からなかった

didn't know …

→ の
phrase Rare #21,833
didn't know … Used after an indirect question to say that someone did not know or understand the answer.
JA: 彼がなぜ帰ったのか分からなかった。
EN: I didn't know why he left.

私は彼が何を言いたいのか分からなかった。

I couldn't understand what he was trying to say.

トムはなぜみんなが笑っているのか分からなかった。

Tom didn’t understand why everyone was laughing.

何が出世の障害になっているのか分からなかった。

I didn't know what was standing in the way of my career advancement.

なぜ彼女が彼に眉をひそめたのか分からなかった。

I didn't understand why she frowned at him.

彼らは彼が死んでいるのか生きているのか分からなかった。

They didn't know whether he was dead or alive.

どういう意味なのか分からなかったんだ。

I didn’t understand what it meant.

私は彼が何について話しているのか分からなかった。

I didn't know what he was talking about.

次に何をしたらいいのか分からなかった。

I didn't know what to do next.