The XY problem is asking about an attempted solution rather than the actual problem.
The XY problem is asking about an attempted solution rather than the actual problem.
That is, a person is trying to solve problem X, and thinks solution Y would work, but instead of asking about X when they run into trouble, they ask about Y.
For more details see What is the XY problem?