I am currently using an app to record lectures and then I upload them to my drop box. This is the second semester I've done this so I know it works. This evening when I was trying to upload the recordings I kept getting Dropbox.com error 400. What does this mean? I've tried two different recordings and neither are uploading. HELP. Everything is up to date and I just did a backup this evening trying to solve the problem.
Same here. A script that's been running daily for a couple of years started getting 400s (I noticed it this morning)
The script is in go, and I'm using this package https://github.com/stacktic/dropbox
Ok turns out dropbox API v1 has been turned off: https://www.dropbox.com/developers/apps/create
On September 28, 2017, API v1 will be turned off, so it's time to move to API v2.
If you want your app's Dropbox integration to keep working, upgrade to API v2.
For details about the deprecation, check out the blog post.
Please acknowledge that API v1 is being deprecated by clicking the box below. If you do not acknowledge that you're aware of the deprecation, your app's users will be notified as part of the deprecation timeline.
I understand that API v1 is being deprecated
As a note: I've tried using the unofficial-official go package and I'm getting the same error...
Ok I managed to get it working in the end:
I am using the Download() function of the Go SDK. Up till now to request a file I had to pass the path like this
while now it's
(notice the "/" at the beginning)
@Bholcombe If you're receiving this error, it likely indicates that the third party app you're using is still using the now-retired API v1.
If you're not the developer of the app, you'll need to contact them and request an updated version of the app that uses API v2 instead. They can contact us and request an extension for access to API v1 if necessary.
@Ciack404 I'm glad to hear you got this sorted out already.
For reference, yes, stacktic/dropbox does appear to use API v1, so using it will now return a 400 error.
The dropbox-sdk-go-unofficial SDK does use API v2, but note that there are other cases that can result in a 400 error, such as not including the leading '/' as you found. (The body of the error would contain more specific error information.)
Thanks for the reply.
Just for information: up till yesterday both the https://github.com/stacktic/dropbox and https://github.com/dropbox/dropbox-sdk-go-unofficial (which I'm using now) worked without the leading slash.