in error vs on the wrong track

in error

prep
  • By mistake 

  • Mistaken 

on the wrong track

prep
  • using the wrong general approach to a particular task or problem; pursuing something in an unpromising way 

How often have the words in error and on the wrong track occurred in a corpus of books? (source: Google Ngram Viewer )