# Sync and copy not using root\_folder\_id

**URL:** <https://forum.rclone.org/t/sync-and-copy-not-using-root-folder-id/49810>\
**Category:** Suspected Bug\
**Created:** [January 31, 2025, 4:54pm UTC](https://forum.rclone.org/t/sync-and-copy-not-using-root-folder-id/49810 "2025-01-31T16:54:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfelds](https://forum.rclone.org/user_avatar/forum.rclone.org/sfelds/32/12251_2.png) [@sfelds](https://forum.rclone.org/u/sfelds)\
**Post date:** [January 31, 2025, 4:54pm UTC](https://forum.rclone.org/t/sync-and-copy-not-using-root-folder-id/49810/1 "2025-01-31T16:54:24Z")

</div>

### Issue:

I configured rclone with Sharepoint to use a root\_folder\_id. When I execute ls or lsd on the remote: (without any paths) I get the root folder content. But when I use sync or copy also without any paths the files end up in the root of the Sharepoint site and not in the folder from the root\_folder\_id.

### Version:

rclone v1.69.0

- os/version: Microsoft Windows 11 Pro 24H2 24H2 (64 bit)
- os/kernel: 10.0.26100.2605 (x86\_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.4
- go/linking: static
- go/tags: cmount

### CloudStorage:

Sharepoint

### Command:

```auto
rclone copy "C:\test" sharepoint:

```

### config:

```auto
[sharepoint]
type = onedrive
client_id = <snip>
client_secret = <snip>
tenant = <snip>
auth_url = https://login.microsoftonline.com/<snip>/oauth2/v2.0/authorize
token_url = https://login.microsoftonline.com/<snip>/oauth2/v2.0/token
client_credentials = true
drive_id = <snip>
drive_type = documentLibrary
root_folder_id = <snip>
access_scopes = Sites.Selected offline_access
token = <snip>

```

### Log:

```auto
2025/01/31 11:47:45 DEBUG : rclone: Version "v1.69.0" starting with parameters ["rclone" "copy" "C:\\test" "sharepoint:" "-vv"]
2025/01/31 11:47:45 DEBUG : Creating backend with remote "C:\\test"
2025/01/31 11:47:45 DEBUG : Using config file from "C:\\Users\\<snip>\\AppData\\Roaming\\rclone\\rclone.conf"
2025/01/31 11:47:45 DEBUG : fs cache: renaming cache item "C:\\test" to be canonical "//?/C:/test"
2025/01/31 11:47:45 DEBUG : Creating backend with remote "sharepoint:"
2025/01/31 11:47:46 DEBUG : test.pdf: Need to transfer - File not found at Destination
2025/01/31 11:47:46 DEBUG : OneDrive root '': Waiting for checks to finish
2025/01/31 11:47:46 DEBUG : OneDrive root '': Waiting for transfers to finish
2025/01/31 11:47:46 DEBUG : test.pdf: Starting multipart upload
2025/01/31 11:47:47 DEBUG : test.pdf: Uploading segment 0/97976 size 97976
2025/01/31 11:47:48 DEBUG : test.pdf: quickxor = 29cc874e7802018b21be020d97bf2bd7aaaa8e28 OK
2025/01/31 11:47:48 INFO : test.pdf: Copied (new)
2025/01/31 11:47:48 INFO :
Transferred: 95.680 KiB / 95.680 KiB, 100%, 95.680 KiB/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 2.3s

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [January 31, 2025, 5:35pm UTC](https://forum.rclone.org/t/sync-and-copy-not-using-root-folder-id/49810/2 "2025-01-31T17:35:19Z")

</div>

> [@sfelds](#):
>
> But when I use sync or copy also without any paths the files end up in the root of the Sharepoint site and not in the folder from the root\_folder\_id.

for a deeper look at the api calls, try `--dump=headers`

---

<div class="post-metadata">

**Author:** ![sfelds](https://forum.rclone.org/user_avatar/forum.rclone.org/sfelds/32/12251_2.png) [@sfelds](https://forum.rclone.org/u/sfelds)\
**Post date:** [February 3, 2025, 5:57pm UTC](https://forum.rclone.org/t/sync-and-copy-not-using-root-folder-id/49810/3 "2025-02-03T17:57:50Z")

</div>

Thanks for the tip. Confirmed that indeed it seems like a bug. As we can see in the dump below that first rclone checks for the file in the correct destination folder and then does the put to the root of the site

```auto
2025/02/03 12:48:16 NOTICE: Automatically setting -vv as --dump is enabled
2025/02/03 12:48:16 DEBUG : rclone: Version "v1.68.1" starting with parameters ["rclone" "--config" "rclone.conf" "copy" "d:\\test" "sharepoint:" "--dump=headers"]
2025/02/03 12:48:16 DEBUG : Creating backend with remote "d:\\test"
2025/02/03 12:48:16 DEBUG : Using config file from "C:\\Program Files\\rclone\\rclone.conf"
2025/02/03 12:48:16 DEBUG : fs cache: renaming cache item "d:\\test" to be canonical "//?/d:/test"
2025/02/03 12:48:16 DEBUG : Creating backend with remote "sharepoint:"
2025/02/03 12:48:16 DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
2025/02/03 12:48:16 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 12:48:16 DEBUG : HTTP REQUEST (req 0xc0003d63c0)
2025/02/03 12:48:16 DEBUG : GET /v1.0/drives/<snip--Library--snip>/items/<snip-Folder--snip>/children?$top=1000 HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.68.1
Authorization: XXXX
Accept-Encoding: gzip

2025/02/03 12:48:16 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 12:48:16 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 12:48:16 DEBUG : HTTP RESPONSE (req 0xc0003d63c0)
2025/02/03 12:48:16 DEBUG : HTTP/2.0 200 OK
Cache-Control: no-store, no-cache
Client-Request-Id:<--snip-->
Content-Type: application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false; charset=utf-8
Date: Mon, 03 Feb 2025 17:48:16 GMT
Request-Id:<--snip-->
Strict-Transport-Security: max-age=31536000
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"008","RoleInstance":"<--snip-->"}}

2025/02/03 12:48:16 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 12:48:16 DEBUG : New Microsoft Word Document.docx: Need to transfer - File not found at Destination
2025/02/03 12:48:16 DEBUG : New Text Document.txt: Need to transfer - File not found at Destination
2025/02/03 12:48:16 DEBUG : OneDrive root '': Waiting for checks to finish
2025/02/03 12:48:16 DEBUG : OneDrive root '': Waiting for transfers to finish
2025/02/03 12:48:16 DEBUG : New Microsoft Word Document.docx: Starting singlepart upload
2025/02/03 12:48:16 DEBUG : New Text Document.txt: Starting multipart upload
2025/02/03 12:48:16 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 12:48:16 DEBUG : HTTP REQUEST (req 0xc0003d7a40)
2025/02/03 12:48:16 DEBUG : PUT /v1.0/drives/<snip--Library--snip>/root:/New%20Microsoft%20Word%20Document.docx:/content HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.68.1
Content-Length: 0
Authorization: XXXX
Accept-Encoding: gzip

2025/02/03 12:48:16 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 12:48:16 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 12:48:16 DEBUG : HTTP REQUEST (req 0xc0003d7e00)
2025/02/03 12:48:16 DEBUG : POST /v1.0/drives/<snip--Library--snip>/root:/New%20Text%20Document.txt:/createUploadSession HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.68.1
Content-Length: 124
Authorization: XXXX
Content-Type: application/json
Accept-Encoding: gzip

2025/02/03 12:48:16 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 12:48:16 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 12:48:16 DEBUG : HTTP RESPONSE (req 0xc0003d7a40)
2025/02/03 12:48:16 DEBUG : HTTP/2.0 200 OK
Cache-Control: no-store, no-cache
Client-Request-Id:<--snip-->
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 03 Feb 2025 17:48:16 GMT
Odata-Version: 4.0
Request-Id:<--snip-->
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"008","RoleInstance":"<--snip-->"}}

2025/02/03 12:48:16 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 12:48:16 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 12:48:16 DEBUG : HTTP REQUEST (req 0xc000374780)
2025/02/03 12:48:16 DEBUG : PATCH /v1.0/drives/<snip--Library--snip>/root:/New%20Microsoft%20Word%20Document.docx: HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.68.1
Content-Length: 111
Authorization: XXXX
Content-Type: application/json
Accept-Encoding: gzip

2025/02/03 12:48:16 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 12:48:17 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 12:48:17 DEBUG : HTTP RESPONSE (req 0xc0003d7e00)
2025/02/03 12:48:17 DEBUG : HTTP/2.0 200 OK
Cache-Control: no-store, no-cache
Client-Request-Id:<--snip-->
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 03 Feb 2025 17:48:17 GMT
Location: https://graph.microsoft.com
Odata-Version: 4.0
Request-Id:<--snip-->
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"008","RoleInstance":"<--snip-->"}}

2025/02/03 12:48:17 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 12:48:17 DEBUG : New Text Document.txt: Uploading segment 0/3 size 3
2025/02/03 12:48:17 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 12:48:17 DEBUG : HTTP REQUEST (req 0xc0003752c0)
2025/02/03 12:48:17 DEBUG : PUT /sites/ANDA/_api/v2.0/drives/<snip--Library--snip>/items/01LZCZ23HHVBQFXA7OEBH223DDTERR67VA/uploadSession?<--snip-->HTTP/1.1
Host: chartwell.sharepoint.com
User-Agent: rclone/v1.68.1
Content-Length: 3
Content-Range: bytes 0-2/3
Accept-Encoding: gzip

2025/02/03 12:48:17 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 12:48:17 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 12:48:17 DEBUG : HTTP RESPONSE (req 0xc000374780)
2025/02/03 12:48:17 DEBUG : HTTP/2.0 200 OK
Cache-Control: no-store, no-cache
Client-Request-Id:<--snip-->
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 03 Feb 2025 17:48:17 GMT
Odata-Version: 4.0
Request-Id:<--snip-->
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"008","RoleInstance":"<--snip-->"}}

2025/02/03 12:48:17 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 12:48:17 DEBUG : New Microsoft Word Document.docx: quickxor = 0000000000000000000000000000000000000000 OK
2025/02/03 12:48:17 INFO : New Microsoft Word Document.docx: Copied (new)
2025/02/03 12:48:17 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 12:48:17 DEBUG : HTTP RESPONSE (req 0xc0003752c0)
2025/02/03 12:48:17 DEBUG : HTTP/2.0 200 OK
Alt-Svc: h3=":443";ma=86400
Cache-Control: no-cache, no-store
Content-Security-Policy: frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com teams.cloud.microsoft *.office365.com goals.cloud.microsoft *.powerapps.com *.powerbi.com *.yammer.com engage.cloud.microsoft word.cloud.microsoft excel.cloud.microsoft powerpoint.cloud.microsoft *.officeapps.live.com *.office.com *.microsoft365.com m365.cloud.microsoft *.cloud.microsoft *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com onedrive.live.com *.onedrive.live.com securebroker.sharepointonline.com;
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 03 Feb 2025 17:48:17 GMT
Expires: -1
Isocdi: 0
Microsoftsharepointteamservices: 16.0.0.25722
Ms-Cv: <--snip-->.0
Odata-Version: 4.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"
Pragma: no-cache
Request-Id:<--snip-->
Spclientservicerequestduration: 558
Sprequestduration: 559
Sprequestguid:<--snip-->
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-1dscollectorurl: https://mobile.events.data.microsoft.com/OneCollector/1.0/
X-Ariacollectorurl: https://browser.pipe.aria.microsoft.com/Collector/3.0/
X-Aspnet-Version: 4.0.30319
X-Cache: CONFIG_NOCACHE
X-Content-Type-Options: nosniff
X-Databoundary: NONE
X-Frame-Options: SAMEORIGIN
X-Ms-Invokeapp: 1; RequireReadOnly
X-Msedge-Ref: Ref A: DBC66A6659564241BEE9106F33739E11 Ref B: EWR311000108031 Ref C: 2025-02-03T17:48:17Z
X-Networkstatistics: 0,4204800,43,457,1143495,0,1773622,40
X-Powered-By: ASP.NET
X-Sharepointhealthscore: 0
X-Sp-Serverstate: ReadOnly=0

2025/02/03 12:48:17 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 12:48:17 DEBUG : New Text Document.txt: quickxor = 7728c31d00000000000000000300000000000000 OK
2025/02/03 12:48:17 INFO : New Text Document.txt: Copied (new)
2025/02/03 12:48:17 INFO :
Transferred: 3 B / 3 B, 100%, 3 B/s, ETA 0s
Transferred: 2 / 2, 100%
Elapsed time: 1.8s

2025/02/03 12:48:17 DEBUG : 8 go routines active

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [February 3, 2025, 6:01pm UTC](https://forum.rclone.org/t/sync-and-copy-not-using-root-folder-id/49810/4 "2025-02-03T18:01:45Z")

</div>

> [@sfelds](#):
>
> `rclone: Version "v1.68.1" `  
> Confirmed that indeed it seems like a bug

that is an old version of rclone.  
before confirming a bug, need to `rclone selfupdate` and test again

---

<div class="post-metadata">

**Author:** ![sfelds](https://forum.rclone.org/user_avatar/forum.rclone.org/sfelds/32/12251_2.png) [@sfelds](https://forum.rclone.org/u/sfelds)\
**Post date:** [February 3, 2025, 7:00pm UTC](https://forum.rclone.org/t/sync-and-copy-not-using-root-folder-id/49810/5 "2025-02-03T19:00:45Z")

</div>

Updated and confirmed same issue

### version

```auto
C:\Program Files\rclone>rclone version
rclone v1.69.0
- os/version: Microsoft Windows Server 2022 Standard 21H2 21H2 (64 bit)
- os/kernel: 10.0.20348.2031 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.4
- go/linking: static
- go/tags: cmount

```

### Log output

```auto
C:\Program Files\rclone>rclone --config rclone.conf copy d:\test sharepoint: --dump=headers
2025/02/03 13:55:12 NOTICE: Automatically setting -vv as --dump is enabled
2025/02/03 13:55:12 DEBUG : rclone: Version "v1.69.0" starting with parameters ["rclone" "--config" "rclone.conf" "copy" "d:\\test" "sharepoint:" "--dump=headers"]
2025/02/03 13:55:12 DEBUG : Creating backend with remote "d:\\test"
2025/02/03 13:55:12 DEBUG : Using config file from "C:\\Program Files\\rclone\\rclone.conf"
2025/02/03 13:55:12 DEBUG : fs cache: renaming cache item "d:\\test" to be canonical "//?/d:/test"
2025/02/03 13:55:12 DEBUG : Creating backend with remote "sharepoint:"
2025/02/03 13:55:12 DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
2025/02/03 13:55:12 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 13:55:12 DEBUG : HTTP REQUEST (req 0xc0007a0500)
2025/02/03 13:55:12 DEBUG : GET /v1.0/drives/<---snip--->/items/<---snip--->/children?$top=1000 HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.69.0
Authorization: XXXX
Accept-Encoding: gzip

2025/02/03 13:55:12 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 13:55:12 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 13:55:12 DEBUG : HTTP RESPONSE (req 0xc0007a0500)
2025/02/03 13:55:12 DEBUG : HTTP/2.0 200 OK
Cache-Control: no-store, no-cache
Client-Request-Id: <---snip--->
Content-Type: application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false; charset=utf-8
Date: Mon, 03 Feb 2025 18:55:12 GMT
Request-Id: <---snip--->
Strict-Transport-Security: max-age=31536000
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"East US 2","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"BN2PEPF00006DF6"}}

2025/02/03 13:55:12 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 13:55:12 DEBUG : New Microsoft Word Document.docx: Need to transfer - File not found at Destination
2025/02/03 13:55:12 DEBUG : New Text Document.txt: Need to transfer - File not found at Destination
2025/02/03 13:55:12 DEBUG : OneDrive root '': Waiting for checks to finish
2025/02/03 13:55:12 DEBUG : OneDrive root '': Waiting for transfers to finish
2025/02/03 13:55:12 DEBUG : New Microsoft Word Document.docx: Starting singlepart upload
2025/02/03 13:55:12 DEBUG : New Text Document.txt: Starting multipart upload
2025/02/03 13:55:12 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 13:55:12 DEBUG : HTTP REQUEST (req 0xc0000dca00)
2025/02/03 13:55:12 DEBUG : PUT /v1.0/drives/<---snip--->/root:/New%20Microsoft%20Word%20Document.docx:/content HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.69.0
Content-Length: 0
Authorization: XXXX
Accept-Encoding: gzip

2025/02/03 13:55:12 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 13:55:12 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 13:55:12 DEBUG : HTTP REQUEST (req 0xc0000dcf00)
2025/02/03 13:55:12 DEBUG : POST /v1.0/drives/<---snip--->/root:/New%20Text%20Document.txt:/createUploadSession HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.69.0
Content-Length: 124
Authorization: XXXX
Content-Type: application/json
Accept-Encoding: gzip

2025/02/03 13:55:12 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 13:55:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 13:55:13 DEBUG : HTTP RESPONSE (req 0xc0000dca00)
2025/02/03 13:55:13 DEBUG : HTTP/2.0 200 OK
Cache-Control: no-store, no-cache
Client-Request-Id: <---snip--->
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 03 Feb 2025 18:55:12 GMT
Odata-Version: 4.0
Request-Id: <---snip--->
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"East US 2","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"BN2PEPF00006DF6"}}

2025/02/03 13:55:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 13:55:13 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 13:55:13 DEBUG : HTTP REQUEST (req 0xc000118640)
2025/02/03 13:55:13 DEBUG : PATCH /v1.0/drives/<---snip--->/root:/New%20Microsoft%20Word%20Document.docx: HTTP/1.1
Host: graph.microsoft.com
User-Agent: rclone/v1.69.0
Content-Length: 111
Authorization: XXXX
Content-Type: application/json
Accept-Encoding: gzip

2025/02/03 13:55:13 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 13:55:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 13:55:13 DEBUG : HTTP RESPONSE (req 0xc0000dcf00)
2025/02/03 13:55:13 DEBUG : HTTP/2.0 200 OK
Cache-Control: no-store, no-cache
Client-Request-Id: <---snip--->
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 03 Feb 2025 18:55:12 GMT
Location: https://graph.microsoft.com
Odata-Version: 4.0
Request-Id: <---snip--->
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"East US 2","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"BN2PEPF00006DF6"}}

2025/02/03 13:55:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 13:55:13 DEBUG : New Text Document.txt: Uploading segment 0/3 size 3
2025/02/03 13:55:13 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 13:55:13 DEBUG : HTTP REQUEST (req 0xc00047a500)
2025/02/03 13:55:13 DEBUG : PUT /sites/ANDA/_api/v2.0/drives/<---snip--->/items/<---snip--->/uploadSession?<---snip---> HTTP/1.1
Host: chartwell.sharepoint.com
User-Agent: rclone/v1.69.0
Content-Length: 3
Content-Range: bytes 0-2/3
Accept-Encoding: gzip

2025/02/03 13:55:13 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/02/03 13:55:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 13:55:13 DEBUG : HTTP RESPONSE (req 0xc000118640)
2025/02/03 13:55:13 DEBUG : HTTP/2.0 200 OK
Cache-Control: no-store, no-cache
Client-Request-Id: <---snip--->
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 03 Feb 2025 18:55:13 GMT
Odata-Version: 4.0
Request-Id: <---snip--->
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Ms-Ags-Diagnostic: {"ServerInfo":{"DataCenter":"East US 2","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"BN2PEPF00006DF6"}}

2025/02/03 13:55:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 13:55:13 DEBUG : New Microsoft Word Document.docx: quickxor = 0000000000000000000000000000000000000000 OK
2025/02/03 13:55:13 INFO : New Microsoft Word Document.docx: Copied (new)
2025/02/03 13:55:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 13:55:13 DEBUG : HTTP RESPONSE (req 0xc00047a500)
2025/02/03 13:55:13 DEBUG : HTTP/2.0 200 OK
Alt-Svc: h3=":443";ma=86400
Cache-Control: no-cache, no-store
Content-Security-Policy: frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com teams.cloud.microsoft *.office365.com goals.cloud.microsoft *.powerapps.com *.powerbi.com *.yammer.com engage.cloud.microsoft word.cloud.microsoft excel.cloud.microsoft powerpoint.cloud.microsoft *.officeapps.live.com *.office.com *.microsoft365.com m365.cloud.microsoft *.cloud.microsoft *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com onedrive.live.com *.onedrive.live.com securebroker.sharepointonline.com;
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 03 Feb 2025 18:55:13 GMT
Expires: -1
Isocdi: 0
Microsoftsharepointteamservices: 16.0.0.25722
Ms-Cv: oX31eCvAAHDdPlNTg6oejg.0
Odata-Version: 4.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"
Pragma: no-cache
Request-Id: <---snip--->
Spclientservicerequestduration: 570
Sprequestduration: 570
Sprequestguid: <---snip--->
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-1dscollectorurl: https://mobile.events.data.microsoft.com/OneCollector/1.0/
X-Ariacollectorurl: https://browser.pipe.aria.microsoft.com/Collector/3.0/
X-Aspnet-Version: 4.0.30319
X-Cache: CONFIG_NOCACHE
X-Content-Type-Options: nosniff
X-Databoundary: NONE
X-Frame-Options: SAMEORIGIN
X-Ms-Invokeapp: 1; RequireReadOnly
X-Msedge-Ref: Ref A: DC48FB6BE42544E9B3EBFD67CA31DB51 Ref B: EWR311000107019 Ref C: 2025-02-03T18:55:13Z
X-Networkstatistics: 0,8409600,110,221,7840323,0,6483653,40
X-Powered-By: ASP.NET
X-Sharepointhealthscore: 1
X-Sp-Serverstate: ReadOnly=0

2025/02/03 13:55:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/02/03 13:55:13 DEBUG : New Text Document.txt: quickxor = 7728c31d00000000000000000300000000000000 OK
2025/02/03 13:55:13 INFO : New Text Document.txt: Copied (new)
2025/02/03 13:55:13 INFO :
Transferred: 3 B / 3 B, 100%, 3 B/s, ETA 0s
Transferred: 2 / 2, 100%
Elapsed time: 1.6s

2025/02/03 13:55:13 DEBUG : 7 go routines active

C:\Program Files\rclone>

```

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [March 5, 2025, 7:01pm UTC](https://forum.rclone.org/t/sync-and-copy-not-using-root-folder-id/49810/6 "2025-03-05T19:01:02Z")

</div>

Closed on March 5, 2025, 7:01pm UTC

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