Hi @Mm2999,
Welcome to the HP Support Community.
I'd be glad to help you!
I understand that you are having issues with the cartridge error.
Try updating the firmware. Click here
If you have performed all the steps from this document and still having issues, either the cartridges are faulty or the printer itself.
Hope this helps! Keep me posted for further assistance
Please mark this post as “Accepted Solution” if the issue is resolved and if you feel this reply was helpful click “Yes”.