cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Known issues updated. Learn more

February contest: Post your Paper workflow to win a Dropbox t-shirt and tote bag!

Error 400 when I use my android app

Level 3

I am the developer of android app. About 6 month ago I have migrated to API v2, and there was no problem. A few days ago I have started to recive the messages from some of my users about the error 400 when they intent to link with Dropbox. I personally intended to link Dripbox from my device, and also received the same error.

What could it be?

1 Accepted best answer

Accepted Solutions
Highlighted

Re: Error 400 when I use my android app

Dropboxer

Did you make any changes to your app's configuration on the App Console recently, perhaps accidentally?

Specifically, please check that your have "Allow implicit grant" set to "Allow" on the app's page on the App Console, since you do need that for the app authorization flow used by the Java SDK. If it's set to "Disallow", switch it to "Allow" and try again, and let me know if that doesn't help.

Reply
Loading...
5 Replies
Highlighted

Re: Error 400 when I use my android app

Dropboxer

Did you make any changes to your app's configuration on the App Console recently, perhaps accidentally?

Specifically, please check that your have "Allow implicit grant" set to "Allow" on the app's page on the App Console, since you do need that for the app authorization flow used by the Java SDK. If it's set to "Disallow", switch it to "Allow" and try again, and let me know if that doesn't help.

Reply
Loading...

Re: Error 400 when I use my android app

Level 3
Thanks, Greg! Now it works!

By the way, What does "Allow implicit grant" mean? Why did it work before with "disallow" and now did not?
Reply
Loading...

Re: Error 400 when I use my android app

Dropboxer

Thanks for following up. I'm glad to hear that's working now. The "implicit grant" is another name for the "token flow", which is the OAuth app authorization flow used by the Java SDK on Android. You can read more about it in the documentation if you wish.

That was always required to be set to "Allow" for this to work. Did you (or maybe anyone else who has access to your account) change it to "Disallow" recently by any chance? Let me know if not, in which case we'll look into it.

Reply
Loading...

Re: Error 400 when I use my android app

Level 3
I entered in Dropbox console after I had been notified notified about error by users. So, it was not possible to change it before. And I am the only one who has access.
Reply
Loading...

Re: Error 400 when I use my android app

Dropboxer

Thanks! We'll check on that.

Reply
Loading...
API Support

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about API Support.

Or, search our Help Center for even more.