We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Oleg3
7 years agoHelpful | Level 5
Error 400 when I use my android app
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 40...
- 7 years ago
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.
Greg-DB
Dropbox Community Moderator
7 years agoDid 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.
Oleg3
7 years agoHelpful | Level 5
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?
By the way, What does "Allow implicit grant" mean? Why did it work before with "disallow" and now did not?
- Greg-DB7 years ago
Dropbox Community Moderator
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!