Sharepoint / one drive api / microsoft request

i understand now. i am doing.
after that i will start transfers i really wonder solituon. maybe its really work. who knows.

2022/09/27 20:51:47 Fatal error: failed to get token: oauth2: cannot fetch token: 401 Unauthorized

Response: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app

yes, that is a common confusion, much discussed in the forum.
need to use the Value, not the ID

here is an example,
https://forum.rclone.org/t/one-drive-client-id-and-secret/29109/2

[sharepoint]
type = onedrive
client_id = 2002382c-39a6-403c-936a-xx
client_secret = j7u8Q~7iGHCmqYhr-E7Kq8-qvRhnxx
token = {"access_token":xx"expiry":"2022-09-27T22:05:47.9685249+03:00"}
drive_id = b!NqELnHza0E6Zhc76nNGTRZEzDs_xx
drive_type = documentLibrary

its generated like that.

ok, and what is the output of
rclone lsd sharepoint: -vv

C:\Users\Administrator\Desktop\rclone-v1.59.2-windows-amd64>rclone lsd sharepoint: -vv
2022/09/27 21:14:02 DEBUG : rclone: Version "v1.59.2" starting with parameters ["rclone" "lsd" "sharepoint:" "-vv"]
2022/09/27 21:14:02 DEBUG : Creating backend with remote "sharepoint:"
2022/09/27 21:14:02 DEBUG : Using config file from "C:\Users\Administrator\AppData\Roaming\rclone\rclone.conf"
-1 2022-06-22 17:36:00 48 dd39
-1 2022-06-26 00:05:41 48 dd41
-1 2022-06-29 17:44:11 49 dd42
-1 2022-07-02 20:48:17 48 dd44
-1 2022-07-06 00:25:58 49 dd46
2022/09/27 21:14:03 DEBUG : 3 go routines active

i have no idea what is that, :slight_smile:

transfers started with 70MB per second.
we will see what will happen

good, you created the remote and seems to be working now.

can you post the exact command you are running?

God damn it, I'm really tired of this stupid app. I really think I should use another service provider. i am stupid too because i am using that sharepoint app.
error under 2 minutes.
rclone copy sharepoint:dd44 dd44cryptnodata: -vv --progress --tpslimit 12 --transfers=7 --log-file=logfile2.txt --crypt-no-data-encryption=true --retries=2

2022/09/27 21:15:37 DEBUG : pacer: low level retry 1/10 (error too_many_requests/)
2022/09/27 21:15:37 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2022/09/27 21:15:37 DEBUG : pacer: Reducing sleep to 15ms
2022/09/27 21:15:37 DEBUG : r3iq375rhg2ougp3bn1d0bit9qohphk07qcfupojdg22knhnb1bp5nrlurfigavuhrrk4r7mgenegq5g1qt5jv5191kktskf9no9h8s4k18t99eppvfkthimtv131fo8ta02mmvhmsun80cgdc76bn3hdc: Uploading chunk 81/2163
2022/09/27 21:15:37 DEBUG : pacer: Reducing sleep to 11.25ms
2022/09/27 21:15:37 DEBUG : j701ispv499qsads10379negjhs68j8e5eo97q2qklqm03ak4bb5ltvol40ma3dkduv05e8pgnm814nkalmnvaeife1rjqbvjrmqr9nsdsbtaodmb7m2l7918l8p1s4ffncb22h80cadf49od4obmr0hps: Uploading chunk 81/2163
2022/09/27 21:15:38 DEBUG : pacer: Reducing sleep to 10ms

those are not errors, just onedrive telling you to slow down.

try --transfers=1 --tpslimit=1

and what is dd44cryptnodata:, post the redacted config for that.

its ofcourse will work with transfers=1 only 15mb per second maksimum.
problem is was working for me around a week ago.
i can download 20TB files per day.

well, that is new information?

and what is dd44cryptnodata:, post the redacted config for that.

dd44cryptnodata is dropbox account, files going to there.
a week or so ago I ran the following code without any problems.
this command kept working for about 10 days. after that around a week ago something broken and not working anymore.

clone copy sharepoint:dd44 dd44cryptnodata: -vv --progress --tpslimit 12 --transfers=7 --log-file=logfile2.txt --crypt-no-data-encryption=true --retries=2

maybe i start seeking another storage service. do you have any advice for me ? with unlimited storage and fast file transfer ?
yea i know that, we are going to far away from topic.

sure, but need to share details about your use-case.

why are you using sharepoint?

i thought that is what dropbox already offers
https://forum.rclone.org/t/dropbox-unlimited-plan-looking-for-other-persons/27564

thanks for advice i am using sharepoint because cheap and unlimited data support.
i did not trust one provider thats why i want use minimum 2 provider and sync them all.
i am already using dropbox

what is the total amount data in sharepoint?

and do you have a local copy of the data?

400 TB total amount of data
no , i don have local copy.
by the way thank you for spending time with me.

hmm, that is a lot of data.

i do not use dropbox so maybe this is not doable.
use dropbox as the primary storage and sharepoint as backup.

i am already doing that but sharepoint has too many problems :frowning:

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