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 commentPhil commented
The same problem is back in InDesign 15.1.2