Open olav-st opened 5 years ago
I ended up sending the request manually as a workaround:
import requests, json
endpoint = "https://api.onedrive.com/v1.0/drives/me/special/approot"
headers = {"Authorization": "Bearer " + access_token}
response = requests.get(endpoint, headers=headers).json()
appfolder_id = response["id"]
@olav-st what do you get if you do client.drives.get()
instead of drive.get()
? I only get one drive, personal, but try exploring with autocomplete.
Hi, I'm trying to access my app folder (using the permission
onedrive.appfolder
). According to the documentation, this is a special folder. How can I access such folders using the Python SDK? I have tried calling:But it throws an exception:
To debug this issue I modified
http_provider.py
to print HTTP requests and reponses and got the following output:I'm not sure what's wrong here. Any ideas or suggestions?