benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.49k stars 2.7k forks source link

Unable to sync with Dropbox (401 unauthorized error) #1782

Open lfdebrux opened 2 years ago

lfdebrux commented 2 years ago

When using StackEdit with Dropbox, synchronization works temporarily when initially connected to the account, however after a while it fails with message 'HTTP error 401 on Dropbox location.'.

Disconnecting and then reconnecting the account fixes the problem, but only temporarily.

Looking in the dev console I can see the following messages being logged:

networkSvc.js:318          POST https://content.dropboxapi.com/2/files/download 401 (Unauthorized)
syncSvc.js:514 Objectbody: "{\"error_summary\": \"expired_access_token/\", \"error\": {\".tag\": \"expired_access_token\"}}"headers: {cache-control: 'no-cache', content-length: '85', content-type: 'application/json'}status: 401[[Prototype]]: Object
(anonymous) @ syncSvc.js:514
joshunger commented 2 years ago

I'm seeing the same issue

image
exanrauzer commented 1 year ago

Yes, I was hoping to use stackedit on mobile and Zettlr on laptop connected by dropbox. It is not possible.

thisistayo commented 9 months ago

This is still around. I guess it has to do with the TTL of the dropbox token. Will it ever be fixed?