barking up the wrong tree
US /ˈbɑːrkɪŋ ʌp ðə rɔŋ triː/
UK /ˈbɑːrkɪŋ ʌp ðə rɔŋ triː/

1.
auf dem Holzweg sein, sich irren
to be pursuing a mistaken course of action or to have a wrong idea about something
:
•
If you think I stole your pen, you're barking up the wrong tree; I haven't seen it.
Wenn du denkst, ich hätte deinen Stift gestohlen, dann bist du auf dem Holzweg; ich habe ihn nicht gesehen.
•
The police were barking up the wrong tree when they suspected the innocent man.
Die Polizei war auf dem Holzweg, als sie den unschuldigen Mann verdächtigte.