Double-check if the debris of paper is removed and toners and inserted properly so that you can close the lid:
Here are the steps to check:-
Lift the scanner assembly.
With the printer turned on, disconnect the power cord from the rear of the printer, and then open the top cover.
To avoid risk of injuries or electric shock, you must disconnect the power cord before you reach inside the printer.
Remove the toner cartridge.
Remove any jammed paper from the cartridge area. Use both hands to remove jammed paper to avoid tearing the paper.
If the paper tears while you remove it, check the rollers and wheels for any torn pieces of paper thatmight remain inside. Use a flashlight to thoroughly look for torn pieces of paper. If any torn pieces of paper remain inside the printer, more paper jams might occur.
Reinsert the toner cartridge.
Close the top cover.
Lower the scanner assembly.
If the error message still displays on the control panel, press OK to clear it.
You can refer this HP document for more assistance:- Click here
I hope that helps.
To thank me for my efforts to help you, please mark my post as an accepted solution so that it benefits several others.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".