stackedit icon indicating copy to clipboard operation
stackedit copied to clipboard

Unable to sync with Dropbox (401 unauthorized error)

Open lfdebrux opened this issue 3 years ago • 4 comments

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

lfdebrux avatar Mar 20 '22 11:03 lfdebrux

I'm seeing the same issue

image

joshunger avatar Apr 23 '22 14:04 joshunger

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

exanrauzer avatar Jul 17 '22 17:07 exanrauzer

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

ekskog avatar Oct 03 '23 07:10 ekskog