Fix for this issue is now available in the latest update of InDesign 2021 – that is, InDesign 16.2.1
In the Creative Cloud Desktop application, click on the Updates section on the left. You should be able to see the Update available for InDesign. Please update your InDesign application to this version to try out the fix.
Let us know in the comments section if you still face this problem.
Adobe InDesign Team
An error occurred while saving the commentDaniel C commented
similar issue for me, first had yellow lines, did a reinstall, and that fixed that but now getting these lines like a row of pixels being mixed up. you can see along the roof line in the attached. This is after updating to the latest. also same is happening for PNG except the lines are in different places.