cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Do you have an idea for Dropbox Paper? Share it with us here!

The Dropbox authorization URL returns always 500 error

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

Re: The Dropbox authorization URL returns always 500 error

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

Reply
Loading...
2 Replies

Re: The Dropbox authorization URL returns always 500 error

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

Reply
Loading...

Re: The Dropbox authorization URL returns always 500 error

New member | Level 2

Thank you Greg, you saved my day!

Reply
Loading...
Developer & API Discussions

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about Developer & API Discussions.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post