you could try removing half of the document and saving the remaining half.
Then half again until you find the problem page.
For example if your document contains 600 pages you could find the problematic page at the latest after of 11 attempts.
(This method can also be used to find for example a corrupt page which prevents the File Export in pdf format)
...also you could try to save your indesign file as .idml and then reopen it in indesig and try to save your file as indesign
Can you please provide the following information:
1. InDesign Version
2. Few sample jpeg files
3. Please package the entire document upload to Creative Cloud account (or Dropbox) and send the document link to email@example.com. To package the document, Go to File -> Package
I solved the problem by hard-closing InDesign, restarting Mac and InDesign, re-opening the files from the crash-back-file and I was able to save the document as normal.