I need to get a file from a very deep folder in a rather large Document Library (713667 items) by Graph Api. This site was migrated from SharePoint 2016 several days ago.
I try to get the file using this api
but always return "itemNotFound" error.
However, this only happens in some folders, and documents in other folders can be found normally.
The internet says that Graph Api relies on SharePoint search to retrieve it, and then the file I found to be unfindable really couldn't be found in the search bar for the last couple of days after I first uploaded it, but today I found that it is now searchable in SharePoint Online, but still not findable via Graph Api!