We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
WayneSmallman
8 years agoExplorer | Level 3
Origin does not match any app domain
Hi, I'm picking up development after another developer, so I'm not familiar with Dropbox. I've managed to get the Dropbox button working, but when clicked I get the: "Origin does not match any ap...
- 8 years ago
WayneSmallman It sounds like you probably are somehow setting different app keys in your different environments, and only one has the extra dev domain registered. I'll follow up on your ticket with some more specifics.
Jonathancarter Likewise, according to the URL you shared, you're using the app key "estke133dioy5uy", which isn't registered for "3h-pk3.durunner.ai" or "durunner.ai". Make sure you're updating the app with key "estke133dioy5uy" to add the domains, or swap in the app key you want to use instead.
Jonathancarter
8 years agoExplorer | Level 3
Hi , I had registered the domain I needed but it does not work.
The URL of the window that pops up for the chooser is as follows :
https://www.dropbox.com/chooser?origin=https%3A%2F%2F3h-pk3.durunner.ai&app_key=estke133dioy5uy&link_type=direct&trigger=js&multiselect=false&extensions=.pdf%20.jpg%20.jpeg%20.png&folderselect=false&iframe=false&version=2
The actual domain is "https://3h-pk3.durunner.ai/ui/app/#lox"
The "3h-pk3" subdomain is randomly generated for a client so each client will have a different subdomain.
I tried many domains without luck -- here is my current list
-durunner.ai -elaine.ai -durunner.ai -104.18.38.196 -3h-pk3.durunner.ai |
This is the actual message
Greg-DB
Dropbox Community Moderator
8 years agoWayneSmallman It sounds like you probably are somehow setting different app keys in your different environments, and only one has the extra dev domain registered. I'll follow up on your ticket with some more specifics.
Jonathancarter Likewise, according to the URL you shared, you're using the app key "estke133dioy5uy", which isn't registered for "3h-pk3.durunner.ai" or "durunner.ai". Make sure you're updating the app with key "estke133dioy5uy" to add the domains, or swap in the app key you want to use instead.
- WayneSmallman8 years agoExplorer | Level 3
Hi Greg-DB, I did the switch and it's now working.
- Jonathancarter8 years agoExplorer | Level 3
It may sound stupid but where do I change the key -- I am using this and it has the correct key in it, not the one you mention
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="05n71k81xm60cgp"></script>
- Greg-DB8 years ago
Dropbox Community Moderator
Jonathancarter That is one way to set the app key. Can you double check if you're maybe accidentally adding two of those, or perhaps are elswhere explicitly setting `Dropbox.appKey`?
About 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!