I have a friend with Ehlers–Danlos syndrome, a rare connective-tissue disorder. She spent years in pain while the doctors told her there was nothing wrong, and that it was just in her head.
It was only seven years ago that they updated diagnostic criteria to include her form of EDS, and it took her a few more years after that to get diagnosed. Now the doctors take her very seriously.