We're happy to announce that the fix for this issue is now available in the latest update of InDesign - version 17.2 that is available to download from Creative Cloud Desktop application.
Please update to this latest InDesign version to get the fix.
Adobe InDesign team
An error occurred while saving the commentColin Sproule commented
I am absolutely still having this problem on MacOS Monterey with InDesign 17.2