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 commentSonia commented
I am having the same problem, I tried to change the preferences but the window is not the good one, it is very basic.