OneDrive Error 401

Have questions about Backup4all, or having problems using it? Ask here for help.
lk-system
Posts: 1
Joined: Mon Jul 31, 2017 1:24 pm

OneDrive Error 401

Postby lk-system » Mon Jul 31, 2017 1:48 pm

We have recently bought a professional license and trying to make a backup to OneDrive since the company we work for owns an Office 365 account with 1 TB OneDrive cloud storage.
Unfortunately we encountered some problems during the backup. I tried to make a daily mirror backup but it failed for some reason.
I have backup4all 6.5.373 running on a HP server OS: Windows 2012 R2 hungarian language version
source was a network drive but we tried a local disc too. Didn't work either.
I would like to point out that the connection seems ok when I setup the onedrive account. If I press the test connection the output is: The cloud connection was tested succesfully.
Since I am not sure what to share from the log file, I am just going to put some information here that I think is relevant. I am sure you will request the information you need if I missed any.

[2017.07.31. 10:57:00] Checking backup destination (OneDrive)
[2017.07.31. 10:57:03] [0] GET https://***-my.sharepoint.com/_api/v2.0/drive/
- Error : 401
{"error_description":"Invalid JWT token. Could not resolve issuer token."}
HTTP/1.1 401 Unauthorized
[2017.07.31. 10:57:04] Opening file "C:\Users\***\AppData\Roaming\Softland\Backup4all 6\Catalogs\Felho - NAPI.bkc"
[2017.07.31. 10:57:04] Checking if the drives of the sources exist
[2017.07.31. 10:57:04] Creating the list of files to backup
[2017.07.31. 10:57:04] Opening file ":memory:"
[2017.07.31. 10:57:04] Cannot use USN journal for this backup. Reason: There are not enough files in the backup
[2017.07.31. 10:57:41] Folders found to backup: 6 004
[2017.07.31. 10:57:41] Files found to backup: 81 282 (71,08 GB)

[2017.07.31. 10:57:42] Preparing shadow copy
[2017.07.31. 10:57:42] There are no source drives that support Volume Shadow Copy.
[2017.07.31. 12:02:39] [0] PUT https://***-my.sharepoint.com/personal/***_***_hu/_api/v2.0/drive/items/0164GN4BCR2J3BI67SPZCYSAZWFZFLLJJI/uploadSession?guid='674c80f5-a033-4f42-a7ed-0a831614aeed'&path='~tmp35_Hegeszt%C5%91%20berendez%C3%A9sek%20%C3%A9ves%20karbantart%C3%A1si%20%C3%A9s%20ellen%C5%91rz%C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cmYiOiJIeU1GTWxoYVNPT2RnUG1veVZZWGRoRTRUZXBqaDJQMEJ6N1pMb094RzJtdUFXQnFCMFl1OVJIdnFmZzZFOS9oQmNJK1I1OGR2VG1sRkNWb0VON0xTQWlFK3diakQydVpmTGdnRi9UQk5OdytCd2ZzdmRIdnUxczdUZzBTdy9Wc29PaGoyTHB2YmpUSTFRbU1NRlNuZXByU2ZYdGs5cjFsblRZOHJsVXhnamdSMVJvVGpQNTRaREZoSWJyVTc5cUJQZUJwcHlqdU1DZWMyWmtZMFJwcnBwOFBpNng5Vy84ZjJkQkdPS056M3pkalFRa2Rla1BmY1ZMSGNydTZUOTkxd1pJc2R3OUJLZUQ3djdvOE1rdFZSMTFWTG15SkZGWkN4U1VZTG1tak80VUhCTkQvOHhhcnNId3dnaHc4eTFWSjNkMVVFck9kWTFQOTZTNWgweHRLbFE9PSIsImlzdXNlciI6InRydWUifQ.STkG26asiLIJ3JN-2tGylQ8oXnIgKr_muAYU1UxHNVH4Mv6icGdiiEmKIW1umHTbbJPFFkYnIcPEeXXbkbyd-ur9ejAU-Hc1UW-5UO_h8zZGbtmWsMVBH_sRUtkiFQaAr8ruRkQIpiOIRyW9hjrDL4x2avZPNAwY2kppny4coOBTL1gElom5XjZ-R8iXulD7xTqvQdGVhQmYAldTZo9m3EXWGqdeqOnu2-m2I1Xg2Ty-6q-pWkovksPEwn6vBfnThOxCYANMNDCVC5Dddf3Jeum-u3mBHKANRxenWh3-SfpgAP0yuMJ4eqox-gQhqLH4RC79Ztt6_A-JQDqncxy3JQ
- Error : 401

HTTP/1.1 401 Unauthorized
[2017.07.31. 12:02:39] Upload returned 401. Will retry after sleeping 2140
.....log file continues I just left it out.
I stopped the job because it was just sleeping. Actually it uploaded some small files but that's about it.

Thanks for your help in advanced.

Support
Posts: 1301
Joined: Wed Dec 16, 2009 12:46 pm
Location: Cluj-Napoca, Romania
Contact:

Re: OneDrive Error 401

Postby Support » Fri Aug 11, 2017 7:37 am

Hi,

Please create a new backup job with less files to be backed up (approx 1 GB) and run it.
Let us know the results.

You can send us the complete backup log to support[at]backup4all[dot]com


Return to “Support & Troubleshooting”