{"action":"created","issue":{"url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/844","repository_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs","labels_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/844/labels{/name}","comments_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/844/comments","events_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/844/events","html_url":"https://github.com/OneDrive/onedrive-api-docs/issues/844","id":316647655,"node_id":"MDU6SXNzdWUzMTY2NDc2NTU=","number":844,"title":"HTTP request returned status code 500 (Internal Server Error)","user":{"login":"abraunegg","id":4956234,"node_id":"MDQ6VXNlcjQ5NTYyMzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4956234?v=4","gravatar_id":"","url":"https://api.github.com/users/abraunegg","html_url":"https://github.com/abraunegg","followers_url":"https://api.github.com/users/abraunegg/followers","following_url":"https://api.github.com/users/abraunegg/following{/other_user}","gists_url":"https://api.github.com/users/abraunegg/gists{/gist_id}","starred_url":"https://api.github.com/users/abraunegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abraunegg/subscriptions","organizations_url":"https://api.github.com/users/abraunegg/orgs","repos_url":"https://api.github.com/users/abraunegg/repos","events_url":"https://api.github.com/users/abraunegg/events{/privacy}","received_events_url":"https://api.github.com/users/abraunegg/received_events","type":"User","site_admin":false},"labels":[{"id":157847341,"node_id":"MDU6TGFiZWwxNTc4NDczNDE=","url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/labels/bug","name":"bug","color":"b60205","default":true},{"id":616135881,"node_id":"MDU6TGFiZWw2MTYxMzU4ODE=","url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/labels/graph","name":"graph","color":"f9d0c4","default":false},{"id":538837269,"node_id":"MDU6TGFiZWw1Mzg4MzcyNjk=","url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/labels/resolved","name":"resolved","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"ificator","id":8387253,"node_id":"MDQ6VXNlcjgzODcyNTM=","avatar_url":"https://avatars2.githubusercontent.com/u/8387253?v=4","gravatar_id":"","url":"https://api.github.com/users/ificator","html_url":"https://github.com/ificator","followers_url":"https://api.github.com/users/ificator/followers","following_url":"https://api.github.com/users/ificator/following{/other_user}","gists_url":"https://api.github.com/users/ificator/gists{/gist_id}","starred_url":"https://api.github.com/users/ificator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ificator/subscriptions","organizations_url":"https://api.github.com/users/ificator/orgs","repos_url":"https://api.github.com/users/ificator/repos","events_url":"https://api.github.com/users/ificator/events{/privacy}","received_events_url":"https://api.github.com/users/ificator/received_events","type":"User","site_admin":false},"assignees":[{"login":"ificator","id":8387253,"node_id":"MDQ6VXNlcjgzODcyNTM=","avatar_url":"https://avatars2.githubusercontent.com/u/8387253?v=4","gravatar_id":"","url":"https://api.github.com/users/ificator","html_url":"https://github.com/ificator","followers_url":"https://api.github.com/users/ificator/followers","following_url":"https://api.github.com/users/ificator/following{/other_user}","gists_url":"https://api.github.com/users/ificator/gists{/gist_id}","starred_url":"https://api.github.com/users/ificator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ificator/subscriptions","organizations_url":"https://api.github.com/users/ificator/orgs","repos_url":"https://api.github.com/users/ificator/repos","events_url":"https://api.github.com/users/ificator/events{/privacy}","received_events_url":"https://api.github.com/users/ificator/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-04-23T03:12:10Z","updated_at":"2018-06-13T22:22:00Z","closed_at":null,"author_association":"NONE","body":"When I upload a folder that has many items through the OneDrive WebUI, and some of those items get blocked from being uploaded. For example:\r\n\r\n* Download https://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/tarball/894\r\n* Extract the downloaded file eg: `_ecryptfs_ecryptfs_trunk-r894.tgz` on Windows using winzip or similar & upload the folder as via OneDrive WebUI\r\n* Files such as `.keep`, `00list`, `__init__.py` do not get uploaded. OneDrive presents this error message: `Sorry, OneDrive can't upload empty folders or empty files. Please try again.`. These files are of 0 size - so this is a 'valid' error message.\r\n\r\nAfter uploading the files (and waiting until all 303 items are uploaded) - and then attempting a sync using the OneDrive Linux Client (https://github.com/abraunegg/onedrive), I get the following error\r\n\r\n```\r\nHTTP request returned status code 500 (Internal Server Error)\r\n{\r\n    \"error\": {\r\n        \"code\": \"InternalServerError\",\r\n        \"innerError\": {\r\n            \"date\": \"2018-04-22T21:45:34\",\r\n            \"request-id\": \"aa5e4042-794d-4e63-8067-c5e2f9ad0306\"\r\n        },\r\n        \"message\": \"nextLink value without skip or skiptoken\"\r\n    }\r\n}\r\n```\r\nThis appears to only effect 'business' accounts as the error does not present itself when using a 'personal' account.\r\n\r\nThe only way to resolve thus far is to:\r\n\r\n1. Remove the offending folder from OneDrive using Web UI\r\n2. Remove the items.sqlite3 (local file the client uses to track what is in sync)\r\n3. Perform a new sync\r\n\r\n**HTTPS Debug:**\r\n```\r\n* Found bundle for host graph.microsoft.com: 0x25052e0\r\n* Re-using existing connection! (#2) with host graph.microsoft.com\r\n* Connected to graph.microsoft.com (65.52.176.80) port 443 (#2)\r\n> GET /v1.0/drives('<redacted>')/items('<redacted>')/microsoft.graph.delta(token='<redacted>')?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference HTTP/1.1\r\nUser-Agent: Phobos-std.net.curl/2.079 (libcurl/7.29.0)\r\nHost: graph.microsoft.com\r\nAccept: */*\r\nAuthorization: <redacted>\r\n\r\n< HTTP/1.1 500 Internal Server Error\r\n< Cache-Control: private\r\n< Transfer-Encoding: chunked\r\n< Content-Type: application/json\r\n< request-id: f1b8f036-1443-46c6-972b-f8e1d76679e3\r\n< client-request-id: f1b8f036-1443-46c6-972b-f8e1d76679e3\r\n< x-ms-ags-diagnostic: {\"ServerInfo\":{\"DataCenter\":\"East Asia\",\"Slice\":\"SliceA\",\"Ring\":\"5\",\"ScaleUnit\":\"001\",\"Host\":\"AGSFE_IN_10\",\"ADSiteName\":\"HKG\"}}\r\n< Duration: 1744.1266\r\n< Strict-Transport-Security: max-age=31536000\r\n< Date: Mon, 23 Apr 2018 03:00:38 GMT\r\n< \r\n* Connection #2 to host graph.microsoft.com left intact\r\nonedrive.OneDriveException@src/onedrive.d(539): HTTP request returned status code 500 (Internal Server Error)\r\n{\r\n    \"error\": {\r\n        \"code\": \"InternalServerError\",\r\n        \"innerError\": {\r\n            \"date\": \"2018-04-23T03:00:38\",\r\n            \"request-id\": \"f1b8f036-1443-46c6-972b-f8e1d76679e3\"\r\n        },\r\n        \"message\": \"nextLink value without skip or skiptoken\"\r\n    }\r\n}\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/comments/397106646","html_url":"https://github.com/OneDrive/onedrive-api-docs/issues/844#issuecomment-397106646","issue_url":"https://api.github.com/repos/OneDrive/onedrive-api-docs/issues/844","id":397106646,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzEwNjY0Ng==","user":{"login":"abraunegg","id":4956234,"node_id":"MDQ6VXNlcjQ5NTYyMzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4956234?v=4","gravatar_id":"","url":"https://api.github.com/users/abraunegg","html_url":"https://github.com/abraunegg","followers_url":"https://api.github.com/users/abraunegg/followers","following_url":"https://api.github.com/users/abraunegg/following{/other_user}","gists_url":"https://api.github.com/users/abraunegg/gists{/gist_id}","starred_url":"https://api.github.com/users/abraunegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abraunegg/subscriptions","organizations_url":"https://api.github.com/users/abraunegg/orgs","repos_url":"https://api.github.com/users/abraunegg/repos","events_url":"https://api.github.com/users/abraunegg/events{/privacy}","received_events_url":"https://api.github.com/users/abraunegg/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T22:22:00Z","updated_at":"2018-06-13T22:22:00Z","author_association":"NONE","body":"Thanks - will test & get back to you"}}
{"actor":{"display_login":"abraunegg"}}