With YaST2 I have configured a HP ColorLaserJet MFP M282nw device both as a printer and scanner via usb and wifi connections.
Printing works fine, but trying to scan requires an extra HP driver plug-in installation which fails each time.
The same happends on two stationary workstations, usb and wifi connected respectively to the HP device, and both installed with Leap 15.3 from scratch (if I remember right).
However on a third laptop machine I upgraded from Leap 15.2 to 15.3, scanning works. That is I think the plug-in was installed on Leap 15.2 first.
Thank you very much, Malcolm Lewis, for this advice.
I had a similar problem as the OP, in my case with the installation of my hp1102 laserjet printer: download of the plug-in did not succeed (with the same unhelpful error message).
So I followed your advice to install the plug-in and then used Yast to install the printer.
Two drivers were proposed, of which I selected the one that did NOT require the plug-in.
Seconds later the testpage printed correctly.
Great advice!