Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.
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_id=...&redirect_uri=...). Each of the Dropbox SDKs contains a method that will help you generate this URL when you need it.
Then i build my own url:
https://www.dropbox.com/oauth2/authorize?client_id=fo7d5lzzuql1161&redirect_uri=https://localhost/test/dropbox
And i get this sad cat no matter what i do, i have enabled the 500 users for the development, added the icons and description to the branding section.
Thanks.
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-DBDropbox Staff
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.
- gestionappNew member | Level 2
Thank you Greg, you saved my day!
About Discuss Dropbox Developer & API
Make connections with other developers799 PostsLatest Activity: 5 days ago
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 or Facebook.
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!