cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 

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

ndenkha
Helpful | Level 6

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

Re: Failed to open/load the window. Dropbox.choose and Dropbox.save should only be called from withi

Dropboxer
Dropboxer
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

Re: Failed to open/load the window. Dropbox.choose and Dropbox.save should only be called from withi

Dropboxer
Dropboxer
Thanks! I've commented there.

Re: Failed to open/load the window. Dropbox.choose and Dropbox.save should only be called from withi

ndenkha
Helpful | Level 6

Thanks Greg, I replied back to your comment.

Re: Failed to open/load the window. Dropbox.choose and Dropbox.save should only be called from withi

ndenkha
Helpful | Level 6

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?

Re: Failed to open/load the window. Dropbox.choose and Dropbox.save should only be called from withi

Dropboxer
Dropboxer
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

Re: Failed to open/load the window. Dropbox.choose and Dropbox.save should only be called from withi

ndenkha
Helpful | Level 6

That was it, thanks Greg!

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?