間違ってた

was wrong, had it wrong

→ 間違う
間違っ make a mistake, be wrong + て Te-form (conjunctive form) + た Past tense
verb · informal, past tense Uncommon #17,631
was wrong, had it wrong Colloquial contraction of 間違っていた.
JA: 私の答え、間違ってた。
EN: My answer was wrong.
Conjugation of 間違う

間違ってたわ

I was wrong.

— レミーのおいしいレストラン (2007)

間違ってたところ直したよ。

I fixed the mistakes.

私が 間違ってた

I was wrong.

— ブゴニア (2025)

つまり、彼が間違ってたのよ。

In other words, he was the one who was wrong.

要は、トムが間違ってたんだよ。

The bottom line is, Tom was wrong.

やっぱりお前が間違ってたんじゃん。

So you were wrong after all.

私、間違ってた?

Was I wrong?

僕が間違ってた

I was wrong.

— レミーのおいしいレストラン (2007)

間違ってた

I was wrong.

— オッペンハイマー (2023)

もしかしたら、トムが間違ってたのかも。

Maybe Tom was wrong.

私が間違ってたって言うの?

Are you saying I was wrong?