Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Sunny P.
9 years agoNew member | Level 1
Dropbox chooser error
Hi,
I have added the Dropbox chooser in our web application.
In the Dropbox app, I have added the domains we are working from. As development purpose I have added our domain in .dev and our production domain.
In development, I could connect to my dropbox account, and even display the chooser, pick some files.
We deploy our development in production. I can still connect with my dropbox account but the Chooser cannot be displayed with the error:
{"error": "Origin does not match any app domain"}
The domain is included in the Chooser/Saver domains section.
However in production and development we use sub-domain (sub1.example.com) and it was working in dev. So I tried for test purpose to add the subdomain in the Chooser domain list just to see if it was that but it is still not working.
Could someone point me to my mistake?
Thanks in advance
Stephanie
4 Replies
- Greg-DB9 years ago
Dropbox Community Moderator
Hi Stephanie, can you share the URL of the Chooser window giving you this error? Thanks in advance!
- Sunny P.9 years agoNew member | Level 1
Hi Gregory,
Thanks for your reply.
This is the url in the Chooser window: https://www.dropbox.com/chooser?origin=https%3A%2F%2Fdev.leadalead.com&app_key=wn7rjp4bsjx6z4l&link_type=preview&trigger=button&multiselect=true&extensions=&folderselect=false&iframe=false&version=2
Please let me know if you need anymore information.
Sincerely,
Stephanie - Greg-DB9 years ago
Dropbox Community Moderator
Thanks! That URL indicates that your Chooser is being used from the domain dev.leadalead.com. However, the app for key wn7rjp4bsjx6z4l (with name "Ydncrm") isn't registered for that domain.
Please sign in to the account that owns that app and add dev.leadalead.com as a "Chooser/Saver domain" using the App Console.
(Or, if that isn't the app you intended to use, swap in the app key you want.)
- Sunny P.9 years agoNew member | Level 1
Hi Gregory,
Thank you so much for pointing me on my mistake.
I have changed the app ID to the correct one and it is working like a charm.
Billions thanks again!
Stephanie
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!
Related Content
- 4 years agoanonymous