One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
FSUInnovation
5 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 worked. I log in, and press accept to allow the app to work with my account, then I get a error in firefox "The address was not understood" for the url https://www.dropbox.com/1/oauth2/authorize_submit that followed hanging my user account registration on that step. I never did 0auth2 before, but my redirect url was never reached and can't continue the user account registration on my site correctly as a result.
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 Staff
The OAuth app authorization flow seems to be working successfully for me in Firefox. Can you share the specific steps to reproduce this issue? Thanks in advance!
- FSUInnovationExplorer | Level 4
I use the header in my php page to load to dropbox 0auth. I was able to see the app, log in, and enable the app to the given account. However, instead of bringing me to the localhost8080 uri I specified in the 0auth api url, I was stopped on the way to the dropbox link I showed above. Thus, my account registration process on my site was halted at that dropbox link rather than proceeding me to the redirect uri I specified in the dropbox 0auth api call with header.
- Greg-DB
Dropbox Staff
FSUInnovation 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!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 5 hours 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!