Every lyme, long covid, firbomalgyia, chronic fatigue and other mystery illness sufferer takes a big "sigh" at this comment. It usually means the correct tests have not been done due "professional" medical incompetence. It might even be that the test one needs doesn't exist yet and literature and technical devices are lacking.
That is so far more likely than "hey bro, your imagining it, snap out of it". At times it amuses me when i witness that experts and academics resort to this kind of fallacy and unscientific attitude when faced with a non-textbook cookie cutter problem. "Doctors" no less.
And before people come at me for saying this stuff. I do not deny the importance of working on ones own social, mental and emotional well-being. These are potent amplifiers of symptoms and sickness no doubt trough various mechanisms.
+1