Dropbox Synchronization Service - up to date?


(Hakam S.) #1

is the add on
Dropbox Synchronization Service
up to date?

I am using the latest version of Openhabian (openhab 2.3)
I installed the addon
Then I created a personalAccessToken as described in Openhab Doc
I entered the personalAccessToken in dropbox.cfg (the rest of configuration are left to default)

what I am seeing on frontail is:

2018-07-10 18:40:42.996 [INFO ] [b.io.dropbox.internal.DropboxService] - #########################################################################################

2018-07-10 18:40:43.000 [INFO ] [b.io.dropbox.internal.DropboxService] - # Starting auth using personal access token

2018-07-10 18:40:43.003 [INFO ] [b.io.dropbox.internal.DropboxService] - #########################################################################################

then after making some changes in one rule, I got this:

2018-07-10 19:00:00.432 [WARN ] [al.DropboxService$SynchronizationJob] - Synchronizing data with Dropbox threw an exception

com.dropbox.core.DbxException$BadRequest: {"error": "v1_retired"}

	at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:206) [214:org.openhab.io.dropbox:1.12.0]

	at com.dropbox.core.DbxClient$6.handle(DbxClient.java:1343) [214:org.openhab.io.dropbox:1.12.0]

	at com.dropbox.core.DbxClient$6.handle(DbxClient.java:1340) [214:org.openhab.io.dropbox:1.12.0]

	at com.dropbox.core.DbxRequestUtil.finishResponse(DbxRequestUtil.java:300) [214:org.openhab.io.dropbox:1.12.0]

	at com.dropbox.core.DbxRequestUtil.doPostNoAuth(DbxRequestUtil.java:293) [214:org.openhab.io.dropbox:1.12.0]

	at com.dropbox.core.DbxRequestUtil.doPost(DbxRequestUtil.java:286) [214:org.openhab.io.dropbox:1.12.0]

	at com.dropbox.core.DbxClient.doPost(DbxClient.java:1833) [214:org.openhab.io.dropbox:1.12.0]

	at com.dropbox.core.DbxClient.getDelta(DbxClient.java:1340) [214:org.openhab.io.dropbox:1.12.0]

	at org.openhab.io.dropbox.internal.DropboxSynchronizer.syncDropboxToLocal(DropboxSynchronizer.java:154) [214:org.openhab.io.dropbox:1.12.0]

	at org.openhab.io.dropbox.internal.DropboxService$SynchronizationJob.execute(DropboxService.java:459) [214:org.openhab.io.dropbox:1.12.0]

	at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [107:org.eclipse.smarthome.core.scheduler:0.10.0.oh230]

	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [107:org.eclipse.smarthome.core.scheduler:0.10.0.oh230]

I am confused, what is retired? the addon? or the Dropbox API itself?
Is the openhab doc up to date?
What is the solution?


(namraccr) #2

See the updated README.


(Hakam S.) #3

Thanks for the info.

It would be helpful for other users to update the official doc page: https://www.openhab.org/addons/integrations/dropbox/


(namraccr) #4

That page will be eventually updated to match the readme. Not sure what the schedule is, but probably within 24 hours.