You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API should work for the files whose names end with drive when they are addressed by their paths.
Observed Behavior
The query
GET /v1.0/drives/71a96798e7b1d253/root:/test/adrive
which is constructed according to the docs "By file system path using /drive/root:/path/to/file"
returns
{
"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"
}
}
}
However, if a trailing colon is added to the original query:
GET /v1.0/drives/71a96798e7b1d253/root:/test/adrive:
it returns the correct DriveItem.
The date and request ID can be found in the response data sample above, and it seems this only happens for OneDrive Personal.
Steps to Reproduce
This bug can be reproduced by the following steps:
In OneDrive Personal, create a folder ending with drive, for example adrive.
Send the request GET /v1.0/me/drive/root:/path/to/adrive: to confirm the item exists
Send the request GET /v1.0/me/drive/root:/path/to/adrive to see the generalException
This is a summary of a bug from rclone. The original discussions can be found on the rclone forum and in the rclone issue.
The text was updated successfully, but these errors were encountered:
I recently stumbled upon a similar bug on OneDrive Business (files with ".xoml" extensions, content doesn't matter), and adding a colon at the end also "fixes" the problem.
As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.
Category
Expected or Desired Behavior
The API should work for the files whose names end with
drive
when they are addressed by their paths.Observed Behavior
The query
which is constructed according to the docs "By file system path using
/drive/root:/path/to/file
"returns
However, if a trailing colon is added to the original query:
it returns the correct DriveItem.
The date and request ID can be found in the response data sample above, and it seems this only happens for OneDrive Personal.
Steps to Reproduce
This bug can be reproduced by the following steps:
drive
, for exampleadrive
.GET /v1.0/me/drive/root:/path/to/adrive:
to confirm the item existsGET /v1.0/me/drive/root:/path/to/adrive
to see thegeneralException
This is a summary of a bug from rclone. The original discussions can be found on the rclone forum and in the rclone issue.
The text was updated successfully, but these errors were encountered: