Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

trulko's avatar
trulko
New member | Level 2
9 years ago

Use of Dropbox Chooser in Chrome Extension

I am attempting to use a Dropbox Chooser in my chrome extension. However, when I click the chooser, I get the error: 

{"error": "Origin does not match any app domain"}

Since it's a Chrome extension, the chooser URL is as follows:

https://www.dropbox.com/chooser?origin=chrome-extension%3A%2F%2Fdlcgilocdofcgmdihihdcpfiohiiphpn&app_key=***&link_type=direct&trigger=js&multiselect=false&extensions=images&folderselect=false&iframe=false&version=2

 

Thus, the Chooser sees the origin as the chrome extension URL. However, if I attempt to add chrome-extension://[extension ID] as the domain in the 'My Apps' app settings on Dropbox Dev, I get the following error:

 

The domain name you entered is invalid

 

What can I do to make this work?

 

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    Thanks for the post. Unfortunately, the Dropbox Chooser doesn't support running from a Chrome extension, but I'll be sure to pass this along as a feature request. Apologies I don't have better news!

About Dropbox API Support & Feedback

Node avatar for 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!