I am suffering a abnormality in OneDrive Graph API. I have bunch of accounts, but in some accounts if I try rclone about remote:
they return everything 0, like this:
Total: 0
Used: 0
Free: 0
Trashed: 0
However everything else works fine, so I am 100% sure that this is not a API Permission issue and in some other accounts it works perfectly fine.
So, I tried to debug it using the --dump=responses
flag and I got the response is this:
{
....
"quota": {
"deleted": 0,
"remaining": 0,
"total": 0,
"used": 0
}
}
OneDrive actually returning 0, so nothing wrong with Rclone.
Then I started to digging into Graph API Explorer, and made the same request Rclone did, but in that case, the API returns:
"quota": {
"deleted": 152,
"remaining": 5494699364198,
"state": "normal",
"total": 5497558138880,
"used": 1428477633
}
I don't know why the API returns 0 when Rclone request it. Not an issue with Rclone, but OneDrive, maybe?