We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
FSUInnovation
6 years agoExplorer | Level 4
The address is not understood error authentication
When trying to authenticate my web platform for file upload using the 0auth2 code flow, I experienced a error. I got my php code to use a header to reach the correct dropbox url for 0auth which worke...
- 6 years ago
Thanks! First, note that this should start with "https://www.dropbox.com/oauth2/authorize", not "https://www.dropbox.com/2/oauth2/authorize". That is, you have an extra "2/".
Also, please try adding the protocol to your redirect URI (both in the authorize URL and pre-registered for your app on the app's page on the App Console). That is, use "http://localhost:8080/FSUInnovation/InternInsert.php" instead of "localhost:8080/FSUInnovation/InternInsert.php".
Greg-DB
Dropbox Community Moderator
6 years agoFSUInnovation Can you share some more detail on how exactly I can reproduce this? Or, perhaps you can share a short screencast showing it? I'm not able to reproduce this kind of error when I try the authorization flow myself (or even by browsing directly to the URL in the screenshot). Thanks!
FSUInnovation
6 years agoExplorer | Level 4
header("Location: https://www.dropbox.com/2/oauth2/authorize?client_id=4s9vxyownku3sp2&response_type=token&redirect_uri=localhost:8080/FSUInnovation/InternInsert.php");
This is the header I used to load onto the 0auth page.
- Greg-DB6 years ago
Dropbox Community Moderator
Thanks! First, note that this should start with "https://www.dropbox.com/oauth2/authorize", not "https://www.dropbox.com/2/oauth2/authorize". That is, you have an extra "2/".
Also, please try adding the protocol to your redirect URI (both in the authorize URL and pre-registered for your app on the app's page on the App Console). That is, use "http://localhost:8080/FSUInnovation/InternInsert.php" instead of "localhost:8080/FSUInnovation/InternInsert.php".
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!