cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more 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: 

Failed to open/load the window. Dropbox.choose and Dropbox.save should only be called from within a

Failed to open/load the window. Dropbox.choose and Dropbox.save should only be called from within a

ndenkha
Helpful | Level 6
Go to solution

Hi, I've posted this question on SO, any help will be appreciated. I have 2 days left to finish this before you guys shut down V1.

 

https://stackoverflow.com/questions/46433974/failed-to-open-load-the-window-dropbox-choose-and-dropb...

 

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
To use the Chooser, you need to register your domain(s) as "Chooser/Saver domains", not "OAuth 2 redirect URIs". The latter is unrelated to the Chooser. If you don't register your Chooser/Saver domains, you'll get the "Origin does not match any app domain" error.

Based on your sample, you should register "xomeauction.qa.esignonline.net" as a Chooser/Saver domain.

View solution in original post

5 Replies 5

Greg-DB
Dropbox Staff
Go to solution
Thanks! I've commented there.

ndenkha
Helpful | Level 6
Go to solution

Thanks Greg, I replied back to your comment.

ndenkha
Helpful | Level 6
Go to solution

Hey Greg,

 

Strangely, enabling all popups on the browser makes the Dropbox.Choose to come up, but now with this error.

 

This is my URL: https://www.dropbox.com/chooser?origin=https%3A%2F%2Fxomeauction.qa.esignonline.net&app_key=eljecz59...

 

And the chooser window comes up with this error in it.

error "Origin does not match any app domain"

 

 

In my App I do have this redirect URL set.

https://xomeauction.qa.esignonline.net/cloud/CallBack/DropBoxAuthorize.aspx

 

Any thoughts?

Greg-DB
Dropbox Staff
Go to solution
To use the Chooser, you need to register your domain(s) as "Chooser/Saver domains", not "OAuth 2 redirect URIs". The latter is unrelated to the Chooser. If you don't register your Chooser/Saver domains, you'll get the "Origin does not match any app domain" error.

Based on your sample, you should register "xomeauction.qa.esignonline.net" as a Chooser/Saver domain.

ndenkha
Helpful | Level 6
Go to solution

That was it, thanks Greg!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    ndenkha Helpful | Level 6
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?