Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 of 3 tasks
yijiang12 opened this issue Apr 10, 2024 · 1 comment
Open
2 of 3 tasks

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

yijiang12 opened this issue Apr 10, 2024 · 1 comment

Comments

@yijiang12
Copy link

yijiang12 commented Apr 10, 2024

Category

  • Question
  • Documentation issue
  • Bug

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

[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues

@abrehamgezahegn
Copy link

Getting the same error trying to open the file picker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants