OneDrive : Could not find a property named 'quota' on type 'oneDrive.item'

Suddenly started getting these errors on my onedrive remote that I have been using for 1 year+

File names redacted:

2018/10/30 16:12:24 ERROR : XXXXX: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 16:12:53 ERROR : YYYYY: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 16:12:55 ERROR : ZZZZZ: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.

Strange!

Can you post your command you are using and a log with -vv. Feel free to redact the log - thanks!

Pretty std command:

./rclone.exe sync --stats 3m --transfers 16 --checkers 16 -vv y: onedrive:pcdrive_backup

The -vv did not show anything interesting, out of 98,000 files only 13 or so showing this error.

I wonder if I have hit a file count limit of some sort. I may try splitting the sync into 2 different destination folders?

./rclone.exe sync --stats 3m --transfers 16 --checkers 16 -v y: onedrive:pcdrive_backup
2018/10/30 19:51:05 ERROR : X: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:51:05 ERROR : Y: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:51:07 ERROR : XX: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:51:07 ERROR : YY: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:51:08 ERROR : ZZ: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:51:08 ERROR : XX: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:51:08 ERROR : YY: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:51:08 ERROR : ZZ: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:51:49 ERROR : XX: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:51:52 ERROR : YY: Failed to copy: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:53:21 INFO : One drive root ‘pcdrive_backup’: Waiting for checks to finish
2018/10/30 19:53:21 INFO : One drive root ‘pcdrive_backup’: Waiting for transfers to finish
2018/10/30 19:53:34 ERROR : XX: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:53:40 ERROR : YY: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:53:50 ERROR : ZZ: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 19:53:55 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 13 (retrying may help)
Checks: 98076 / 98076, 100%
Transferred: 0 / 0, -
Elapsed time: 3m0.5s

The plot thickens. I noticed most all the files with errors had the words “googledrive” or “onedrive” in the path.

Sample test case, backup one directory that has 3 folders in it “onedrive”, “googledrive” and “otherfolder” all empty.

Guess what, errors on the ones with “drive” in the name:

➤ dir c:/testfolder
googledrive onedrive otherfolder

➤ ./rclone.exe sync --stats 3m --transfers 16 --checkers 16 -v c:/testfolder onedrive:test
2018/10/30 21:35:41 INFO : One drive root ‘test’: Waiting for checks to finish
2018/10/30 21:35:41 INFO : One drive root ‘test’: Waiting for transfers to finish
2018/10/30 21:35:43 ERROR : googledrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 21:35:43 ERROR : onedrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 21:35:44 ERROR : One drive root ‘test’: not deleting files as there were IO errors
2018/10/30 21:35:44 ERROR : One drive root ‘test’: not deleting directories as there were IO errors
2018/10/30 21:35:44 ERROR : Attempt 1/3 failed with 2 errors and: not deleting files as there were IO errors
2018/10/30 21:35:44 INFO : One drive root ‘test’: Waiting for checks to finish
2018/10/30 21:35:44 INFO : One drive root ‘test’: Waiting for transfers to finish
2018/10/30 21:35:44 ERROR : googledrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 21:35:45 ERROR : onedrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 21:35:45 ERROR : One drive root ‘test’: not deleting files as there were IO errors
2018/10/30 21:35:45 ERROR : One drive root ‘test’: not deleting directories as there were IO errors
2018/10/30 21:35:45 ERROR : Attempt 2/3 failed with 2 errors and: not deleting files as there were IO errors
2018/10/30 21:35:45 INFO : One drive root ‘test’: Waiting for checks to finish
2018/10/30 21:35:45 INFO : One drive root ‘test’: Waiting for transfers to finish
2018/10/30 21:35:45 ERROR : googledrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 21:35:46 ERROR : onedrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/30 21:35:46 ERROR : One drive root ‘test’: not deleting files as there were IO errors
2018/10/30 21:35:46 ERROR : One drive root ‘test’: not deleting directories as there were IO errors
2018/10/30 21:35:46 ERROR : Attempt 3/3 failed with 2 errors and: not deleting files as there were IO errors
2018/10/30 21:35:46 Failed to sync: not deleting files as there were IO errors

BUT it does copy the other folder:

➤ ./rclone.exe lsd onedrive:test
-1 2018-10-30 21:35:45 0 otherfolder

This only recently started happening…

A bit more testing, it seems to be any folder ENDING with the word drive.

➤ dir c:/testfolder
adrive drivea driveme otherfolder testdrive

Failures on “adrive” and “testdrive” ONLY:

./rclone.exe sync --stats 3m --transfers 16 --checkers 16 -v c:/testfolder onedrive:test
2018/10/31 07:48:01 INFO : One drive root ‘test’: Waiting for checks to finish
2018/10/31 07:48:01 INFO : One drive root ‘test’: Waiting for transfers to finish
2018/10/31 07:48:01 ERROR : adrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/31 07:48:04 ERROR : testdrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/31 07:48:04 ERROR : One drive root ‘test’: not deleting files as there were IO errors
2018/10/31 07:48:04 ERROR : One drive root ‘test’: not deleting directories as there were IO errors
2018/10/31 07:48:04 ERROR : Attempt 1/3 failed with 2 errors and: not deleting files as there were IO errors
2018/10/31 07:48:05 INFO : One drive root ‘test’: Waiting for checks to finish
2018/10/31 07:48:05 INFO : One drive root ‘test’: Waiting for transfers to finish
2018/10/31 07:48:06 ERROR : adrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/31 07:48:06 ERROR : testdrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/31 07:48:06 ERROR : One drive root ‘test’: not deleting files as there were IO errors
2018/10/31 07:48:06 ERROR : One drive root ‘test’: not deleting directories as there were IO errors
2018/10/31 07:48:06 ERROR : Attempt 2/3 failed with 2 errors and: not deleting files as there were IO errors
2018/10/31 07:48:08 INFO : One drive root ‘test’: Waiting for checks to finish
2018/10/31 07:48:08 INFO : One drive root ‘test’: Waiting for transfers to finish
2018/10/31 07:48:08 ERROR : adrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/31 07:48:09 ERROR : testdrive: Failed to Mkdir: generalException: Could not find a property named ‘quota’ on type ‘oneDrive.item’.
2018/10/31 07:48:09 ERROR : One drive root ‘test’: not deleting files as there were IO errors
2018/10/31 07:48:09 ERROR : One drive root ‘test’: not deleting directories as there were IO errors
2018/10/31 07:48:09 ERROR : Attempt 3/3 failed with 2 errors and: not deleting files as there were IO errors
2018/10/31 07:48:09 Failed to sync: not deleting files as there were IO errors

Others are OK:

./rclone.exe lsd onedrive:test
-1 2018-10-31 07:48:05 0 drivea
-1 2018-10-31 07:46:30 0 driveme
-1 2018-10-30 21:35:45 0 otherfolder

Excellent debugging - well done!

Can you please make a new issue on github about this and I’ll get the onedrive maintainer to take a look. Put a link to the forum thread.

I managed to replicate it with this

  mkdir -p /tmp/odtest/adrive
  echo hello > odtest/adrive/test.txt
  rclone copy -vv --dump bodies /tmp/odtest onedriveg:test --retries 1 2>&1 | tee /tmp/onedrive.log

With the relevant log being

2018/11/03 16:49:46 DEBUG : HTTP REQUEST (req 0xc0004a2200)
2018/11/03 16:49:46 DEBUG : GET /v1.0/drives/71a96798e7b1d253/root:/test/adrive HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.44-036-g1f05d5bf-beta
Authorization: XXXX
Accept-Encoding: gzip

2018/11/03 16:49:46 DEBUG : HTTP RESPONSE (req 0xc0004a2200)
2018/11/03 16:49:46 DEBUG : HTTP/1.1 400 Bad Request
Transfer-Encoding: chunked
Cache-Control: private
Client-Request-Id: 7001728a-4c8d-48d6-96cc-3dfc31de0d18
Content-Type: application/json
Date: Sat, 03 Nov 2018 16:49:46 GMT
Duration: 195.3003
Request-Id: 7001728a-4c8d-48d6-96cc-3dfc31de0d18
Strict-Transport-Security: max-age=31536000
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"UK South","Slice":"SliceC","Ring":"5","ScaleUnit":"002","Host":"AGSFE_IN_3","ADSiteName":"UKS"}}

10a
{
  "error": {
    "code": "generalException",
    "message": "Could not find a property named 'quota' on type 'oneDrive.item'.",
    "innerError": {
      "request-id": "7001728a-4c8d-48d6-96cc-3dfc31de0d18",
      "date": "2018-11-03T16:49:46"
    }
  }
}
0

Thanks

Nick

1 Like