cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We want to make our Community work for you and we need your help. Take our short survey!
Close

Discuss Dropbox Developer & API

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

The Dropbox authorization URL returns always 500 error

Highlighted

The Dropbox authorization URL returns always 500 error

New member | Level 2
New member | Level 2

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
Highlighted

Re: The Dropbox authorization URL returns always 500 error

Dropboxer
Dropboxer

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
Highlighted

Re: The Dropbox authorization URL returns always 500 error

Dropboxer
Dropboxer

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

Highlighted

Re: The Dropbox authorization URL returns always 500 error

New member | Level 2
New member | Level 2

Thank you Greg, you saved my day!

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?