I have a custom app (actually an R package) that uses the Graph API to talk to Sharepoint. One of my users has reported that they are unable to list files in folders: either a 404 or 400 error is returned. They can open and download files as long as they know the full path, they just can't get directory listings.
The code to read a directory uses either of the following Graph calls, based on whether it's the root directory:
GET drives/{id}/root/children
GET drives/{id}/root:/path/to/folder/:children
I've tested it on my machine and it works. Are there admin settings or policies that might be causing this problem?