So there’s a website devoted to The XY Problem:
The XY problem is asking about your attempted solution rather than
your actual problem. This leads to enormous amounts of wasted time and
energy, both on the part of people asking for help, and on the part of
those providing help.