のかわからなかった

didn't know

→ の
phrase Rare #25,194
didn't know Used after a clause to say that someone didn’t know or understand something; the specific meaning depends on the clause before it.
JA: 彼が何を言っているのかわからなかった。
EN: I didn’t know what he was saying.

ジョンは仕事をやめたことを妻にどう説明したらいいのかわからなかった。

John didn’t know how to explain to his wife that he had quit his job.

どこでバスに乗ったら良いのかわからなかった。

I didn't know where to catch the bus.

私達はどの車に乗って良いのかわからなかった。

We didn't know which car we were allowed to ride in.