OneDrive / onedrive-api-docs

Official documentation for the OneDrive API
MIT License
447 stars 228 forks source link

Must be authenticated to use '/drive' syntax #1788

Open yijiang12 opened 3 months ago

yijiang12 commented 3 months ago

Category

The file picker throw unauthenticated error. Context: I have followed this documentation to set up the app and permission(Files.read.all). I get the access token back but I found it doesn't include onedrive.read.

Expected or Desired Behavior

Expected: the file picker should render correctly.

Observed Behavior

File picker throw error:

{
    "error": {
        "code": "unauthenticated",
        "message": "Must be authenticated to use '/drive' syntax."
    }
}

URL: https://api.onedrive.com/v1.0/drive/view.recent
status: 401
abrehamgezahegn commented 1 month ago

Getting the same error trying to open the file picker.