The fix for this issue is now available in InDesign’s latest version, id 14.0.3.
Please update your InDesign to try out the fix.
If you open a file which already has this issue, in the new version, you may continue to see the issue.
To resolve such cases, you may SAVE AS the file or do a force text re-composition as the workaround
However, all the new files created in the new version will not have this issue anymore.
You may also follow the below given link for the list of all fixed issues in Id 14.0.3
An error occurred while saving the commentMatthew Williams commented
It is indeed very annoying. The problem never went away for me, even after clean installs on new computers.
While it doesn't fix some bugs—like disappearing footnote rules—forcing InDesign to recompose all stories has fixed this problem for me (albeit temporarily; if you edit the text, all bets on whether or not the fix stays are off ). Use command-option-/ [Mac] or ctrl-alt-/ [Windows].