Thank you for reporting the issue to us.
We have fixed the issue in the latest version of InDesign, Id 15.0
Please upgrade your InDesign application to the latest version to try out the fix.
If you face any problems with the new update, do let us know in the comments.
You may also follow the below given link for the list of all fixed issues in Id 15.0
An error occurred while saving the commentAnonymous commented