The fix for this issue is available in the latest update of InDesign version 15.0.3
Please update your InDesign application to this version to get the fix.
Adobe InDesign team
An error occurred while saving the commentJeff commented
When exporting a large hi-res pdf for print, make sure that the "Create Tagged PDF" and "Optimize for Fast Web View" options are UN-checked in the PDF export dialog.