What Causes HP Printer WPS Connection Failed Error During Setup?
https://123hp-setup-com.us/blog/hp-printer-wps-connection-failed/
The HP printer WPS connection failed error may occur because the router does not support WPS, WPS is disabled, or the printer is too far from the router. Network interference, incorrect WPS timing, outdated printer firmware, or router settings can also cause connection problems. Restarting the router and printer, enabling WPS, and trying the connection again may resolve the issue.