I think "The doctors had figured out the problem" is more accurate..
Yes, it is an ignorant sentence. The problem can be solved but not discovered.
They are focusing on the grammatical more than if it makes sense or no. And that is not useful.
issue = problem
the doctors had discovered the problem. the doctors had discovered the problem. the doctors had discovered the problem.
الاطباء قد اكتشفوا المشكلة
This is what we need this year /covide19 -/