02_document_splitting -- file not found

I have downloaded the Jupyter NB for L2, document splitting, (including the “docs” files) and I am getting a “filenotfound error”. Or, more exactly, I am getting this error:

FileNotFoundError: [WinError 3] The system cannot find the path specified:…

And I am getting it here:

from langchain.document_loaders import NotionDirectoryLoader 2

loader = NotionDirectoryLoader(“docs/Notion_DB”) ----> 3

notion_db = loader.load()

but when I go to look at the file it claims it cannot find, I DO find it where the error message indicates.

Anyone encounter this?

turns out that the problem was that a few (i think around 5) had file names too long. Once I truncated these file names (out of about 350), I had no problem.