How Can I Fix HP Printer WPS Connection Failed Error?
https://123hp-setup-com.us/blog/hp-printer-wps-connection-failed/
To fix an HP printer WPS connection failed error, restart the printer and wireless router. Make sure the router’s WPS feature is enabled and place the printer within a strong Wi-Fi range. Press the router’s WPS button and start WPS setup on the printer within two minutes. If it still fails, restart both devices and try connecting through HP Smart instead.