Known issues updated. Learn more
February contest: Post your Paper workflow to win a Dropbox t-shirt and tote bag!no
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 app domain"
As I understand it, I have to place the URL into the: "Chooser / Save domains" field, but when I do it appears to be choking on the port number in the URL, with the error: "The domain name you entered is invalid"
I'm using: "http://under-cloud:8888/" for local development, and because I'm using MAMP Pro I have to use the port number (I've tried switching to the default port numbers, but it kills the application).
Update: I've managed to remove the port number, but it's made no difference, and I'm still getting the same error as before.
Any ideas?
Solved! Go to best answer.
There's already an answer for this post:
jump to the answer
|
@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.
There's already an answer for this post:
jump to the answer
|
I hve exactly the same issue and I looked in previous support requests and people all seem to have solved it but none of the solutions worked in my case.
If anyone has a solution I would appreciate it.
I am using a subdomain but apparently this should not matter.
I even put the subdomain and the list of chooser domains and still have the same issue
There's already an answer for this post:
jump to the answer
|
There's already an answer for this post:
jump to the answer
|
There's already an answer for this post:
jump to the answer
|
Hi Greg!
I decided to take a look at the embed code we're using and I discovered that the app key in the embed is different to the one I'm seeing here in the application itself.
I'm confused, because the one we're using, which isn't the one here, is working on staging ("dev.udrcld.com"), but not development ("
under-cloud").
Any ideas?
There's already an answer for this post:
jump to the answer
|
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
There's already an answer for this post:
jump to the answer
|
@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.
There's already an answer for this post:
jump to the answer
|
Hi @Greg K., I did the switch and it's now working.
There's already an answer for this post:
jump to the answer
|
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>
There's already an answer for this post:
jump to the answer
|
@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`?
There's already an answer for this post:
jump to the answer
|
Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.
Not the right discussion for you? Find out what else our Community has to say about API Support.
Or, search our Help Center for even more.