Problem with coping .json files from sharepoint (webdav)

2020/07/09 15:55:19 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020/07/09 15:55:20 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2020/07/09 15:55:20 DEBUG : HTTP RESPONSE (req 0xc000739000)
2020/07/09 15:55:20 DEBUG : HTTP/1.1 404 NOT FOUND
Accept-Ranges: bytes
Cache-Control: private,max-age=0
Date: Thu, 09 Jul 2020 12:55:19 GMT
Expires: Wed, 24 Jun 2020 12:55:19 GMT
Microsoftsharepointteamservices: 16.0.0.20224
Ms-Cv: n2RdHd+AACDdFERcd/2isg.0
P3p: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
Public-Extension: http ://schemas. microsoft. com /repl-2
Request-Id: 1d5d649f-80df-2000-dd14-445c77fda2b2
Server: Microsoft-IIS/10.0
Set-Cookie: ***
Spiislatency: 1
Sprequestduration: 43
Sprequestguid: 1d5d649f-80df-2000-dd14-445c77fda2b2
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Ms-Invokeapp: 1; RequireReadOnly
X-Msdavext_error: 589831; The folder that would hold URL  "Shared Documents/some-file.json" does not exist on the server
X-Powered-By: ASP.NET
X-Sharepointhealthscore: 0
Content-Length: 0
2020/07/09 15:55:20 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2020/07/09 15:55:20 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020/07/09 15:55:20 DEBUG : HTTP REQUEST (req 0xc000193b00)
2020/07/09 15:55:20 DEBUG : PROPFIND /sites/ForTestSite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3Eq01KcrE6GCb5FmqMmQjgyQUY1NTYtQzFEMi00RDRGLTlGQTEtMjk1NDYwRkJGRUI2kj7GcsBKUZe+u/4eAz3jCVyIR2YVR2WvSII5nq1WGuFz2OqeHY0coB2QeNk96XVghijGIMI084NrgLG1cYhboSQTUBFiT2oqi9ndwfemKMon029/5zZAGKP9C9gTKYqjiKSgercPCCZkLsm9LS+49+NMooGiklLattIKnVfkwlIN6DBKQZTE+yM9u2i5kvt3GN+SG3VUNbukDD4ePqGdPx/fen60RxEjZ+RvGaup+OFA/KDHm07kWr5lkOLmp8VT1HgIV4gtrSeFzsrYIaOax5VyXApePj5XnukmSTweFca06decQRh7T4zSbnhp4vFes+iJ5eiZn6ME5HMQK81YGkUAAAA=
Depth: 0
Referer: https://testhosttesthost.sharepoint.com/sites/ForTestSiteTest/
Accept-Encoding: gzip
2020/07/09 15:55:20 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2020/07/09 15:55:20 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020/07/09 15:55:20 DEBUG : HTTP REQUEST (req 0xc000193b00)
2020/07/09 15:55:20 DEBUG : PROPFIND /sites/ForTestSiteTest/Shared%20Documents/some-file.json HTTP/1.1
Host: testhosttesthost.sharepoint.com
User-Agent: rclone/v1.52.2
Cookie: ***
Depth: 0
Referer: https://testhosttesthost.sharepoint.com/sites/ForTestSiteTest/
Accept-Encoding: gzip
2020/07/09 15:55:20 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020/07/09 15:55:20 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2020/07/09 15:55:20 DEBUG : HTTP RESPONSE (req 0xc000193b00)
2020/07/09 15:55:20 DEBUG : HTTP/1.1 207 MULTI-STATUS
Cache-Control: no-cache
Content-Type: text/xml
Date: Thu, 09 Jul 2020 12:55:19 GMT
Microsoftsharepointteamservices: 16.0.0.20224
Ms-Cv: n2RdHedQACDdFEGfFw+GJg.0
P3p: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
Public-Extension: http://schemas.microsoft.com/repl-2
Request-Id: 1d5d649f-50e7-2000-dd14-419f170f8626
Server: Microsoft-IIS/10.0
Set-Cookie: ***
Set-Cookie: ***
Spiislatency: 0
Sprequestduration: 18
Sprequestguid: 1d5d649f-50e7-2000-dd14-419f170f8626
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Ms-Invokeapp: 1; RequireReadOnly
X-Powered-By: ASP.NET
X-Sharepointhealthscore: 2
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:" xmlns:Office="urn:schemas-microsoft-com:office:office" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:Z="urn:schemas-microsoft-com:">
<D:response><D:href>https://testhosttesthost.sharepoint.com/sites/ForTestSiteTest/Shared%20Documents/some-file.json</D:href><D:propstat><D:prop><D:displayname>some-file.json</D:displayname><D:lockdiscovery/><D:supportedlock><D:lockentry><D:lockscope><D:exclusive/></D:lockscope><D:locktype><D:write/></D:locktype></D:lockentry></D:supportedlock><D:getlastmodified>Thu, 09 Jul 2020 10:58:34 GMT</D:getlastmodified><D:creationdate>2020-07-09T10:58:34Z</D:creationdate><D:getcontentlength>4014</D:getcontentlength><Repl:repl-uid>rid:{12AFF4AD-ED5B-46E7-8E21-657D78A4549F}</Repl:repl-uid><Repl:resourcetag>rt:12AFF4AD-ED5B-46E7-8E21-657D78A4549F@00000000001</Repl:resourcetag><D:getetag>&quot;{12AFF4AD-ED5B-46E7-8E21-657D78A4549F},1&quot;</D:getetag><Office:modifiedby>i:0#.f|membership|test@testhosttesthost.onmicrosoft.com</Office:modifiedby></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response></D:multistatus>
2020/07/09 15:55:20 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2020/07/09 15:55:20 DEBUG : fs cache: renaming cache item "sharepoint:/Shared Documents/some-file.json" to be canonical "sharepoint:Shared Documents"
2020/07/09 15:55:20 DEBUG : fs cache: renaming cache item "./" to be canonical "/home/test/testsite/rclone/sharepoint"
2020/07/09 15:55:20 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020/07/09 15:55:20 DEBUG : HTTP REQUEST (req 0xc000010500)
2020/07/09 15:55:20 DEBUG : PROPFIND /sites/ForTestSiteTest/Shared%20Documents/some-file.json HTTP/1.1
Host: testhosttesthost.sharepoint.com
User-Agent: rclone/v1.52.2
Cookie: ***
Depth: 1
Referer: https://testhosttesthost.sharepoint.com/sites/ForTestSiteTest/
Accept-Encoding: gzip

2020/07/09 15:55:20 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020/07/09 15:55:20 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2020/07/09 15:55:20 DEBUG : HTTP RESPONSE (req 0xc000010500)
2020/07/09 15:55:20 DEBUG : HTTP/1.1 404 NOT FOUND
Accept-Ranges: bytes
Cache-Control: private,max-age=0
Date: Thu, 09 Jul 2020 12:55:19 GMT
Expires: Wed, 24 Jun 2020 12:55:20 GMT
Microsoftsharepointteamservices: 16.0.0.20224
Ms-Cv: n2RdHe4wACDdFETvzZlMoQ.0
P3p: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
Public-Extension: http://schemas.microsoft.com/repl-2
Request-Id: 1d5d649f-30ee-2000-dd14-44efcd994ca1
Server: Microsoft-IIS/10.0
Set-Cookie: ***
Set-Cookie: ***
Spiislatency: 0
Sprequestduration: 19
Sprequestguid: 1d5d649f-30ee-2000-dd14-44efcd994ca1
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Ms-Invokeapp: 1; RequireReadOnly
X-Msdavext_error: 589831; The%20folder%20that%20would%20hold%20URL%20%27Shared%20Documents%2f5831%2dsome%2dfile%2ejson%27%20does%20not%20exist%20on%20the%20server%2e
X-Powered-By: ASP.NET
X-Sharepointhealthscore: 3
Content-Length: 0
2020/07/09 15:55:20 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2020/07/09 15:55:20 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020/07/09 15:55:20 DEBUG : HTTP REQUEST (req 0xc000739700)
2020/07/09 15:55:20 DEBUG : PROPFIND /sites/ForTestSiteTest/Shared%20Documents/some-file.json HTTP/1.1
Host: testhosttesthost.sharepoint.com
User-Agent: rclone/v1.52.2
Cookie: ***
Depth: 0
Referer: https://testhosttesthost.sharepoint.com/sites/ForTestSiteTest/
Accept-Encoding: gzip

2020/07/09 15:55:20 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020/07/09 15:55:20 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2020/07/09 15:55:20 DEBUG : HTTP RESPONSE (req 0xc000739700)
2020/07/09 15:55:20 DEBUG : HTTP/1.1 207 MULTI-STATUS
Cache-Control: no-cache
Content-Type: text/xml
Date: Thu, 09 Jul 2020 12:55:19 GMT
Microsoftsharepointteamservices: 16.0.0.20224
Ms-Cv: n2RdHfUAACDdFEctlBTOoA.0
P3p: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
Public-Extension: http://schemas.microsoft.com/repl-2
Request-Id: 1d5d649f-00f5-2000-dd14-472d9414cea0
Server: Microsoft-IIS/10.0
Set-Cookie: ***
Set-Cookie: ***
Spiislatency: 0
Sprequestduration: 23
Sprequestguid: 1d5d649f-00f5-2000-dd14-472d9414cea0
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Ms-Invokeapp: 1; RequireReadOnly
X-Powered-By: ASP.NET
X-Sharepointhealthscore: 1
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:" xmlns:Office="urn:schemas-microsoft-com:office:office" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:Z="urn:schemas-microsoft-com:">
<D:response><D:href>https://testhosttesthost.sharepoint.com/sites/ForTestSiteTest/Shared%20Documents/some-file.json</D:href><D:propstat><D:prop><D:displayname>some-file.json</D:displayname><D:lockdiscovery/><D:supportedlock><D:lockentry><D:lockscope><D:exclusive/></D:lockscope><D:locktype><D:write/></D:locktype></D:lockentry></D:supportedlock><D:getlastmodified>Thu, 09 Jul 2020 10:58:34 GMT</D:getlastmodified><D:creationdate>2020-07-09T10:58:34Z</D:creationdate><D:getcontentlength>4014</D:getcontentlength><Repl:repl-uid>rid:{12AFF4AD-ED5B-46E7-8E21-657D78A4549F}</Repl:repl-uid><Repl:resourcetag>rt:12AFF4AD-ED5B-46E7-8E21-657D78A4549F@00000000001</Repl:resourcetag><D:getetag>&quot;{12AFF4AD-ED5B-46E7-8E21-657D78A4549F},1&quot;</D:getetag><Office:modifiedby>i:0#.f|membership|test@testhosttesthost.onmicrosoft.com</Office:modifiedby></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response></D:multistatus>
2020/07/09 15:55:20 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2020/07/09 15:55:20 DEBUG : some-file.json: Need to transfer - File not found at Destination
2020/07/09 15:55:20 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020/07/09 15:55:20 DEBUG : HTTP REQUEST (req 0xc00097e100)
2020/07/09 15:55:20 DEBUG : GET /sites/ForTestSiteTest/Shared%20Documents/some-file.json HTTP/1.1
Host: testhosttesthost.sharepoint.com
User-Agent: rclone/v1.52.2
Cookie:  ***
Referer: https://testhosttesthost.sharepoint.com/sites/ForTestSiteTest/
Accept-Encoding: gzip



2020/07/09 15:55:20 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020/07/09 15:55:20 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2020/07/09 15:55:20 DEBUG : HTTP RESPONSE (req 0xc00097e100)
2020/07/09 15:55:20 DEBUG : HTTP/1.1 200 OK
Transfer-Encoding: chunked
Cache-Control: private
Content-Type: text/html; charset=utf-8
Date: Thu, 09 Jul 2020 12:55:20 GMT
Microsoftsharepointteamservices: 16.0.0.20224
Ms-Cv: n2RdHfzQACDdFEY3UKbo8g.0
P3p: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
Request-Id: 1d5d649f-d0fc-2000-dd14-463750a6e8f2
Server: Microsoft-IIS/10.0
Set-Cookie: ***
Sharepointerror: 0
Sprequestguid: 1d5d649f-d0fc-2000-dd14-463750a6e8f2
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Aspnet-Version: 4.0.30319
X-Content-Type-Options: nosniff
X-Ms-Invokeapp: 1; RequireReadOnly
X-Powered-By: ASP.NET
X-Sharepointhealthscore: 0

e0f0

Thanks for that. Rclone sees the file in the directory and it looks ok but the last GET request didn't return the data...

There is some funny stuff in the middle which is very difficult to read about trust stuff - that might be relevant.

There is no response for the last GET request - was there more?

Yes, it was more but forum do not allow me to post more posts :slight_smile:

Perhaps I know the reason of that behavior.

When I try to get path for file in Web Sharepoint UI and than paste that path in browser address line - for all files, except .json, - i see file content. But for json files I see error page (and rclone show this one).

but I don't know how to walk over that :frowning:

It sounds like that is the problem and it isn't rclone specific.

Can you ask your Sharepoint admin for help?

It looks like this is a known problem with a solution:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.