Dropbox sync errors

Hi,

I upgraded my OS to Windows 11. I am using Joplin app (version2.7.15 prod, win32).
I am using dropbox for synchrozation my notes.
When I tried to sync my notes I got the error: "Some items cannot be synchronised"
When I looked into details:

Attachments
Not downloaded: 0
Downloading: 0
Downloaded and decrypted: 416
Downloaded and encrypted: 0
Created locally: 0
Error: 92

c1b2c2ec53662335e5c0a135a4d42c66.png (b7cd8e8b78534fc98fdfce739108d700): POST files/download: fetchBlob error (400): Bad Request

Please can you help me to resolve this problem?

Hey there, that's curious

let's start figuring it out by getting the logs first

See how to copy the logs here: How to enable debugging | Joplin

Please paste them in a ```codeblock``` like so

I have copied the logs just like you said. But where to paste them?

Um, do you have exactly the same issue as the original poster had? I'm asking cause in most cases all environments and problems are different, hence is the treatment. So it makes sense to start your own topic in #support section and describe your situation fully to avoid guessing game.

Once, you described your situation and environment, you can paste those logs right in that topic, it's good enough

Before, I asked to put logs in a codeblock (which is a format of text, not a place) just so it would be easier to read

Hi, thanks for your reply and help.
I tried follow your instrustions. I found 2 errors in the log:

Error: On file 257a35dfb4ec47a69fd55af021f0ca00.md: POST files/list_folder: Error (400): Error in call to API function "files/list_folder": Must provide HTTP header "Authorization" or URL parameter "authorization".
    at newError (C:\Users\Doktor27\AppData\Local\Temp\26ILuIwQNTgQu7IwNXu3ZgFgT5z\resources\app.asar\node_modules\@joplin\lib\DropboxApi.js:178:20)
    at DropboxApi.exec (C:\Users\Doktor27\AppData\Local\Temp\26ILuIwQNTgQu7IwNXu3ZgFgT5z\resources\app.asar\node_modules\@joplin\lib\DropboxApi.js:191:12)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async FileApiDriverDropbox.list (C:\Users\Doktor27\AppData\Local\Temp\26ILuIwQNTgQu7IwNXu3ZgFgT5z\resources\app.asar\node_modules\@joplin\lib\file-api-driver-dropbox.js:101:18)"```

2022-05-29 13:54:22: "Error: POST files/delete_v2: Error (400): Error in call to API function "files/delete:2": Must provide HTTP header "Authorization" or URL parameter "authorization".
Error: POST files/delete_v2: Error (400): Error in call to API function "files/delete:2": Must provide HTTP header "Authorization" or URL parameter "authorization".
    at newError (C:\Users\Doktor27\AppData\Local\Temp\26ILuIwQNTgQu7IwNXu3ZgFgT5z\resources\app.asar\node_modules\@joplin\lib\DropboxApi.js:178:20)
    at DropboxApi.exec (C:\Users\Doktor27\AppData\Local\Temp\26ILuIwQNTgQu7IwNXu3ZgFgT5z\resources\app.asar\node_modules\@joplin\lib\DropboxApi.js:191:12)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async FileApiDriverDropbox.delete (C:\Users\Doktor27\AppData\Local\Temp\26ILuIwQNTgQu7IwNXu3ZgFgT5z\resources\app.asar\node_modules\@joplin\lib\file-api-driver-dropbox.js:191:4)" ```

Thanks for your help and time.

It seems there's a problem with authorization via Dropbox. You can reauthorize and try syncing again

Menu --> Tools --> Options --> Sync --> Open sync wizard --> Select under "Dropbox" --> Follow the instructions to complete authorization

Please make sure you have a .jex backup just in case

Thanks for info.
Its odd, because I did it before followed your istructions.
Before I did upgrade from Win 10 to Win 11 I set sync in the begining once.
Now It requires to set autorise the dropbox to sync, I would say everytime I try to sync my notes via Dropbox.

Can it be problem on Joplin site or Dropbox site?

It's hard to say what may go wrong with Joplin files during windows upgrade but in any complicated case like this, it's best just to start anew (reset all settings/data, reinstall the app). Once again, mind the backup please.

As far as Dropbox and joplin 2.7.15 goes there are thousands of users with this setup. There's literally a single case besides yours that looks similar and it's solved by reinstallation. So, yeah, I think it's just windows upgrade somehow messed up Joplin files.

I followed your recommendation. I reinstalled the app. I tried to install newer version.
It ended with the same results. Some items were not synced.

Is it normal that every time I try to sync via dropbox, it ask me to authorise the application?
As i remember correctly I set the authorisation only once before and it was working (I mean before upgrade to Win 11).

It might be worth reviewing (and possibly revoking) Joplin from your connected apps in your Dropbox settings. It shouldn't be asking for auth every single time.

Can you try installing Joplin in another user on the same computer? I would like to see if it makes any difference to not have any of remaining old Joplin files in the loop.

Do you have any other computer? Does the issue persists there?

No, it is not normal

@graphit0 @Daeraxa thanks for your help.
I deciced to reinstall my OS again.
So it took time, then I installed dropbox and joplin and now its working again!
Thanks both for your time and help, I really aprreciate your help!

1 Like