The fix for this issue is now available in the latest update of InDesign – that is, InDesign 15.0.2.
Please update your InDesign application to get this fix.
Adobe InDesign team
An error occurred while saving the comment- commented
i had the same problem, I lost a lot of work. I installed an older version of indesign. cmd z and undo work in version 15.0.1.