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
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: