cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Get summer ready with Dropbox basic - travel documents, plans, progress reminders and more, right over here.

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

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

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

Re: Error 400

Greg-DB
Dropboxer

@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

Re: Error 400

Ciack404
Helpful | Level 5

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

Re: Error 400

Ciack404
Helpful | Level 5

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

Re: Error 400

Ciack404
Helpful | Level 5

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

Re: Error 400

Ciack404
Helpful | Level 5

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)

Re: Error 400

Greg-DB
Dropboxer

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

Re: Error 400

Greg-DB
Dropboxer

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

 

 

Re: Error 400

Ciack404
Helpful | Level 5

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.

Re: Error 400

gill5
New member | Level 2

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

Re: Error 400

Greg-DB
Dropboxer

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

Poll
Which Dropbox Plan do you have?
Who's talking

Top contributors to this post

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