If the above still produces the error, you can display only a part of your Notebook
, for example the following will display only first 3 cells (or cell groups) of the Notebook
:
NotebookPut[Take[nb, {1}, {1, UpTo@3}]];
Using partial rendering you can finally find which part of the notebook causes the error.