cancel
Showing results for 
Search instead for 
Did you mean: 

Error 400

1,901 Views
15 Comments
6 Kudos
Highlighted
Level 3

Error 400

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.

15 Replies
Level 5

Re: Error 400

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

Level 5

Re: Error 400

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

Level 5

Re: Error 400

As a note: I've tried using the unofficial-official go package  and I'm getting the same error...

https://github.com/dropbox/dropbox-sdk-go-unofficial

linked from

https://github.com/dropbox

Level 5

Re: Error 400

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

folder/filename.ext

while now it's

/folder/filename.ext

(notice the "/" at the beginning)

Dropboxer

Re: Error 400

@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.

Dropboxer

Re: Error 400

@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.)

 

 

Level 5

Re: Error 400

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.

Level 2

Re: Error 400

How do I upgrade to get rid of this Error 400 message?

Dropboxer

Re: Error 400

@gill5 If you're not the developer of the app, you'll need to contact the developer for an updated version.

 

If you are the developer, you'll need to update your app to use API v2.