cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know all about tools for creatives that work seamlessly with Dropbox, like Adobe? Well, check it out right here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

The address is not understood error authentication

The address is not understood error authentication

FSUInnovation
Explorer | Level 3

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.

1 Accepted Solution

Accepted Solutions

Re: The address is not understood error authentication

Greg-DB
Dropboxer

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".

View solution in original post

5 Replies 5

Re: The address is not understood error authentication

Greg-DB
Dropboxer

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! 

Re: The address is not understood error authentication

FSUInnovation
Explorer | Level 3

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.

notunderstood.PNG

Re: The address is not understood error authentication

Greg-DB
Dropboxer

@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!

Re: The address is not understood error authentication

FSUInnovation
Explorer | Level 3

header("Location: https://www.dropbox.com/2/oauth2/authorize?client_id=4s9vxyownku3sp2&response_type=token&redirect_ur...");

This is the header I used to load onto the 0auth page.

Re: The address is not understood error authentication

Greg-DB
Dropboxer

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".

View solution in original post

Poll
Do you work or study in the creative industry? If so, which area?
If you use Adobe, don't forget to check out our latest integrations update here.
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    FSUInnovation Explorer | Level 3
What do Dropbox user levels mean?
Need more support?