Hi,
En E5 error represents a scanner problem, following your taken steps I would say that your printer requires servicing.
Go to Contact HP Customer Support to schedule a product repair or replacement. If you are in Asia Pacific, you will be directed to a local service center in your area, as described by below support document:
https://support.hp.com/in-en/document/c06570371
Shlomi