Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
I'm developing on a mac app that uses bundled assets and the code is running with file:// urls in the main webview. To receive the post message from the dropbox chooser correctly, I need the origin to be set to be * according to https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage#Using_window.postMessage_in_exte.... However, when I try to use *, the dropbox window displays invalid origin.
Thanks for your help!
Best,
Yang
Hi Yang, thanks for your post. Unfortunately, the Dropbox Chooser doesn't currently support running from environments without an actual domain to check, so I'm afraid there isn't a way to make this work. We'll consider this a feature request though.
Hi there!
If you need more help you can view your support options (expected response time for a 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!