cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The Dropbox authorization URL returns always 500 error

The Dropbox authorization URL returns always 500 error

gestionapp
New member | Level 2
Go to solution

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.

LRU17PB

Thanks.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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:

I'll ask the team to fix that up so it returns a better error message when 'response_type' is omitted though.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

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:

I'll ask the team to fix that up so it returns a better error message when 'response_type' is omitted though.

gestionapp
New member | Level 2
Go to solution

Thank you Greg, you saved my day!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    gestionapp New member | Level 2
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?