This issue has been resolved in the latest InDesign version 15.1
Adobe InDesign team
An error occurred while saving the commentStephen commented
I had the same issue for a few days (24th May, 2018). In that time I tried uninstalling and reinstalling older versions.
In the end, what got it working was changing the permissions in