cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting an error 400 when using a third party app

Getting an error 400 when using a third party app

Bholcombe
Explorer | Level 3
Go to solution

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.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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

View solution in original post

15 Replies 15

Ciack404
Helpful | Level 5
Go to solution

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

Ciack404
Helpful | Level 5
Go to solution

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

Ciack404
Helpful | Level 5
Go to solution

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

Ciack404
Helpful | Level 5
Go to solution

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)

Greg-DB
Dropbox Staff
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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

 

 

Ciack404
Helpful | Level 5
Go to solution

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.

gill5
New member | Level 2
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    gill5 New member | Level 2
  • User avatar
    bookaholixanon New member | Level 2
What do Dropbox user levels mean?