OneDrive sync error with Linux app only

Operating system

Linux

Joplin version

3.3.12

Desktop version info

Joplin 3.3.12 (prod, linux)

Device: linux, Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
Client ID: 5f4c731458964e0882ee1f897afa13c6
Sync Version: 3
Profile Version: 47
Keychain Supported: No
Alternative instance ID: -

Revision: cd80c18

Backup: 1.4.3
Conflict Resolution: 1.2.3
Freehand Drawing: 3.0.1

Sync target

OneDrive

What issue do you have?

App cannot connect to OneDrive to sync data. This is only happening with the Linux desktop app. The Windows desktop app and the Android mobile app can connect to OneDrive as usual with no issues.

I am seeing this error message above the "Synchronize" button in the sidebar:

Last error: Error: Could not execute request after multiple attempts: GET https://graph.microsoft.com/v1.0/drives/15C5F77AFF497F8D/root:/Apps/Joplin/info.json:/content

I enabled debugging, restarted the app and saw a FetchError message multiple times. The error message contains links so as a new user, I can't paste the message due to the "2 links in a post" limitation.
I have uploaded a screenshot of the error message and a truncated version of the log file. I removed the log messages after the 3rd retry attempt at a GET.

Screenshots

Log file

Joplin sync error log.txt (449 KB)

An update to the issue:
I updated the computer to the Joplin desktop app for Linux v.3.4.5 pre-release. Now I am seeing a different error message when the app tries to synchronize with OneDrive.

Last error: TypeError: Failed to fetch

The error as seen in the Console window.

await in processTicksAndRejections
timeoutCallback @ registry.ts:190
Logger.ts:317 16:37:00: Synchronizer: TypeError: Failed to fetch
at shim-init-node.ts:532:11
at Object.fetchWithRetry (shim.ts:286:28)
at di.default.fetch (shim-init-node.ts:531:15)
at nRt.exec (onedrive-api.ts:329:28)
at nRt.execText (onedrive-api.ts:460:31)
at aRt.get (file-api-driver-onedrive.js:113:37)
at file-api.ts:364:42
at tryAndRepeat (file-api.ts:89:25)
at VEt.get (file-api.ts:364:10)
at fetchSyncInfo (syncInfoUtils.ts:87:39)
log @ Logger.ts:317
error @ Logger.ts:147

A truncated copy of the debug log file.

Joplin v3.4.5 OneDrive sync error log.txt (31.9 KB)