I extract path_lower from meta info request for a folder and feed that into
client.files.listFolder(path: path, recursive: true, includeMediaInfo: true).response({ (files, error) in
I'm getting
OSError: Optional(Error Domain=NSURLErrorDomain Code=-995 "(null)")
What the heck is that and how do I go about listing shared folder contents?????
That's the right method for listing folder contents, but it looks like you're running in to an issue because you're running inside an extension.
NSURLErrorDomain
error is NSURLErrorBackgroundSessionRequiresSharedContainer
according to OSStatus, so it sounds like you'll need to set up a shared container.