Look here https://github.com/abraunegg/onedrive and all your questions are answered. I use it for many years now over different distros, no issues and so easy to use. Don’t forget to install onedrive from the Fedora Repos.
Did you try to install that directly from fedora or with an rpm from onedrive?
On Fedora 36 I did this and it seems to work.
]# dnf install onedrive
Last metadata expiration check: 1:02:48 ago on Tue 09 Aug 2022 02:41:14 PM CDT.
Package Architecture Version Repository Size
onedrive x86_64 2.4.19-1.fc36 updates 680 k
ldc-libs x86_64 1:1.27.1-3.fc36 updates 2.4 M
Install 2 Packages
Total size: 3.1 M
Total download size: 680 k
Installed size: 16 M
Is this ok [y/N]:
Not sure why it would not work for you if installing directly from the fedora repo.
I run a dry run this morning i was running for hours in a loop doing the same stuff.
I have added this sync-list file again took 30 plus minutes looping same items
But produces an error
ERROR: Microsoft OneDrive API returned an error with the following message:
Error Message: HTTP request returned status code 500 (Internal Server Error)
Error Reason: Failed to get a coherent view of changes. Try again later.
Error Timestamp: 2022-08-10T09:30:12
API Request ID: bcf2573e-6485-4743-a752-3353203811a5
Calling Function: applyDifferences()
Could you also tell me where the OneDrive config file is located because it is not in the default place .config/onedrive folder where i would expect it.