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

Graph API drive endpoint doesn't give the correctly updated quota data #1791

Open
1 of 3 tasks
woojou opened this issue Apr 22, 2024 · 0 comments
Open
1 of 3 tasks

Graph API drive endpoint doesn't give the correctly updated quota data #1791

woojou opened this issue Apr 22, 2024 · 0 comments

Comments

@woojou
Copy link

woojou commented Apr 22, 2024

Category

  • Question
  • Documentation issue
  • Bug

Expected or Desired Behavior

After I uploaded or deleted some files on OneDrive, then call "https://graph.microsoft.com/v1.0/me/drive", I should see the quota data was updated accordingly.

Observed Behavior

The "used" and "remaining" were not changed, but "deleted" was updated instantly.

Steps to Reproduce

I uploaded some files (in total 7MB) to my OneDrive, and then I call "https://graph.microsoft.com/v1.0/me/drive" to get the quota data and check if the "used" has been changed. But the "used" was kept as before.

And then I deleted a 22KB file, call "https://graph.microsoft.com/v1.0/me/drive" again, I can see the "deleted" changed instantly, but the "used" was still not updated.

Now, after 3 days, the "used" and "remaining" were still not changed.

Please help clarify why this happened, and is there any caching mechanism? Thank you.

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

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

1 participant