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 commentBrendan commented
Mine is doing the same, only text boxes remain with no text. Luckily I have a back up ID file which I save periodically so I can transfer all of the missing text across but this needs fixing as I'm working on a 60 page magazine and chunks of it which have already been signed off/completed keep vanishing.
Aman, I've seen your response asking for samples, the file I am using is over 40mb so I will just send you one of the pages affected, how it looked a couple of days ago and how it looks now so you can see the issue, I don't have a video of it but if I send you the ID files you will see the problem as the layers are still there in the layers panel but do not show in the document any more. I will also send them both to the email address email@example.com above.