laverna icon indicating copy to clipboard operation
laverna copied to clipboard

Wiki instructions to sync Laverna with Dropbox don't work

Open shezaan opened this issue 7 years ago • 6 comments

Hi, I followed your instructions on syncing laverna to dropbox by creating an API key and all. After adding my key to the laverna app as the final step I get the following error below:

Error (400)
It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below.


More details for developers

Invalid redirect_uri. It must exactly match one of the redirect URIs you've pre-configured for your app (including the path).

shezaan avatar Nov 28 '17 16:11 shezaan

I also tried and it happens the same for me. If this project alive?? I just see 4 pull request and no one reviews it. I want to contribute but I don't know if this project is still alive

KenrySanchez avatar Nov 30 '17 05:11 KenrySanchez

@shezaan, do you self-host?

wwebfor avatar Dec 25 '17 08:12 wwebfor

Experiecing the same here.

D0048 avatar Dec 25 '17 08:12 D0048

@wwebfor yes I used to. Now I have turned to turtlapp.com

shezaan avatar Dec 25 '17 16:12 shezaan

I finally figure it out... You need to add 127.0.0.1:9000 together with localhost:9000 in the redirect url...

D0048 avatar Dec 26 '17 02:12 D0048

How to connect Laverna with Dropbox?

  • If you don't have a Dropbox account, create one at https://www.dropbox.com/
  • Login to the Dropbox API (https://www.dropbox.com/developers ) with your Dropbox account
  • Go to "My Apps" -> "Create App"
  • Select "Dropbox API", "App folder" and choose a name for your app after that
  • Go in the Settings of your app
  • In Redirect URIs, add "http://localhost:9000/" and "https://laverna.cc/app/" and "http://localhost:9000/dropbox.html" (both without quotes)
  • Allow implicit grant
  • Open Laverna and go to Settings -> Sync
  • Select Dropbox as Cloud storage
  • Copy the App key from your Dropbox app to the Dropbox API key text field in Laverna

Now Laverna should sync to your Dropbox account.

Lelik7777 avatar Aug 20 '23 15:08 Lelik7777