Dropbox service throws Bad Request

I have just been trying to set up Dropbox sync. I have obtain an access token and put it in the config file. I have left the upload frequency at 5 minutes, and I see the following excerpt in the log every 5 min:

2018-01-17 18:10:00.458 [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) [247:org.openhab.io.dropbox:1.11.0]
at com.dropbox.core.DbxClient$2.handle(DbxClient.java:181) [247:org.openhab.io.dropbox:1.11.0]
at com.dropbox.core.DbxRequestUtil.doGet(DbxRequestUtil.java:269) [247:org.openhab.io.dropbox:1.11.0]
at com.dropbox.core.DbxClient.doGet(DbxClient.java:1826) [247:org.openhab.io.dropbox:1.11.0]
at com.dropbox.core.DbxClient.getMetadataWithChildrenBase(DbxClient.java:176) [247:org.openhab.io.dropbox:1.11.0]
at com.dropbox.core.DbxClient.getMetadataWithChildren(DbxClient.java:143) [247:org.openhab.io.dropbox:1.11.0]
at org.openhab.io.dropbox.internal.DropboxSynchronizer.syncLocalToDropbox(DropboxSynchronizer.java:206) [247:org.openhab.io.dropbox:1.11.0]
at org.openhab.io.dropbox.internal.DropboxService$SynchronizationJob.execute(DropboxService.java:457) [247:org.openhab.io.dropbox:1.11.0]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [115:org.eclipse.smarthome.core.scheduler:0.10.0.b1]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [115:org.eclipse.smarthome.core.scheduler:0.10.0.b1]

Is this a known issue? I looks like to me as if Dropbox had retired an older API. Or am I missing something?

Addon is using an outdated dropbox api and need to be reworked.

Im also getting this issue - is this still being maintained?

Like already mentioned, it was due to the usage of the oudated API v1.

Today I quickly fixed this for my needs and compiled it into a new jar file. Thought I could share it here, if someone else wants to reuse it.

I only refactored LOCAL_TO_DROPBOX way and removed the bidirectional part, e.g. I dont ever wanted the binding to delete stuff on dropbox. Authentication was only tested with a personalAccessToken.

Furthermore I added the following option in the config file, because the binding could only import into the base directory of dropbox:

# The dropbox base directory for uploading the contendir matches
dropboxdir=/openhab2

ah, and I also hardcoded to ignore *.sgv files because I got a lot of them flying around.

Have fun,

Regards

I have installed and configured the service as described here:
https://www.openhab.org/addons/integrations/dropbox/#service-configuration

Now I get the same error as described above:

2018-07-05 09:15:00.605 [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) [210:org.openhab.io.dropbox:1.12.0]
	at com.dropbox.core.DbxClient$6.handle(DbxClient.java:1343) [210:org.openhab.io.dropbox:1.12.0]
	at com.dropbox.core.DbxClient$6.handle(DbxClient.java:1340) [210:org.openhab.io.dropbox:1.12.0]
	at com.dropbox.core.DbxRequestUtil.finishResponse(DbxRequestUtil.java:300) [210:org.openhab.io.dropbox:1.12.0]
	at com.dropbox.core.DbxRequestUtil.doPostNoAuth(DbxRequestUtil.java:293) [210:org.openhab.io.dropbox:1.12.0]
	at com.dropbox.core.DbxRequestUtil.doPost(DbxRequestUtil.java:286) [210:org.openhab.io.dropbox:1.12.0]
	at com.dropbox.core.DbxClient.doPost(DbxClient.java:1833) [210:org.openhab.io.dropbox:1.12.0]
	at com.dropbox.core.DbxClient.getDelta(DbxClient.java:1340) [210:org.openhab.io.dropbox:1.12.0]
	at org.openhab.io.dropbox.internal.DropboxSynchronizer.syncDropboxToLocal(DropboxSynchronizer.java:154) [210:org.openhab.io.dropbox:1.12.0]
	at org.openhab.io.dropbox.internal.DropboxService$SynchronizationJob.execute(DropboxService.java:459) [210:org.openhab.io.dropbox:1.12.0]
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [109:org.eclipse.smarthome.core.scheduler:0.10.0.oh230]
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [109:org.eclipse.smarthome.core.scheduler:0.10.0.oh230]

Does that mean that this addon does not work anymore? (in its current version)