Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
gestionapp
6 years agoNew member | Level 2
The Dropbox authorization URL returns always 500 error
The Dropbox authorization URL is specific to your app and is composed of your app key, redirect URI, response type, and state (it looks something like https://www.dropbox.com/oauth2/authorize?client_...
- 6 years ago
Thanks for the report! It looks like this is failing because you're missing the 'response_type' parameter. You can find more information on the parameters in the documentation for /oauth2/authorize.
We support "token" and "code" as the values for 'response_type', so for example you might use one of these:
- https://www.dropbox.com/oauth2/authorize?client_id=fo7d5lzzuql1161&redirect_uri=https://localhost/test/dropbox&response_type=token
- https://www.dropbox.com/oauth2/authorize?client_id=fo7d5lzzuql1161&redirect_uri=https://localhost/test/dropbox&response_type=code
I'll ask the team to fix that up so it returns a better error message when 'response_type' is omitted though.
Greg-DB
Dropbox Community Moderator
6 years agoThanks for the report! It looks like this is failing because you're missing the 'response_type' parameter. You can find more information on the parameters in the documentation for /oauth2/authorize.
We support "token" and "code" as the values for 'response_type', so for example you might use one of these:
- https://www.dropbox.com/oauth2/authorize?client_id=fo7d5lzzuql1161&redirect_uri=https://localhost/test/dropbox&response_type=token
- https://www.dropbox.com/oauth2/authorize?client_id=fo7d5lzzuql1161&redirect_uri=https://localhost/test/dropbox&response_type=code
I'll ask the team to fix that up so it returns a better error message when 'response_type' is omitted though.
gestionapp
6 years agoNew member | Level 2
Thank you Greg, you saved my day!
About Discuss Dropbox Developer and API
Explore Dropbox Developer & API discussions with developers like you.
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!