cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We want to hear from you. What do you use Dropbox for?
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Dropbox Chooser cancels in MSIE11

Explorer | Level 3

I've integrated the Dropbox Chooser API into my web-app and it works fine in Chrome.

In MSIE 11 however, 9 out of 10 times it calls the cancel callback after selecting a file. Also, I receive a generic error (SCRIPT16389) and a reference to the script: dropins.js (1,11784).

Weirdly, however, 1 out of 10 times it does work and calls the success callback.

The script reference points to a part of the Dropbox SDK that uses postMessage.

My web-app has a lot of dependencies, but I have no way of telling if any of them is interfering and how. Any help would be appreciated.

20 Replies 20
Highlighted

Re: Dropbox Chooser cancels in MSIE11

Dropboxer
Dropboxer

Thanks for the report! I just gave the Chooser a try in Internet Explorer 11 and I'm not seeing the same issue though.

First, for comparison, can you try the Chooser demo itself on https://www.dropbox.com/developers/chooser in Internet Explorer 11 and let me know if you do or don't see the issue there as well?

If you're not seeing it there, it's possible there is something on your site in particular that is interfering, so we'd need to work on tracking that down. (We have seen things like that once or twice.) In that case, please share a sample page that reproduces the issue so we can check on it.

Highlighted

Re: Dropbox Chooser cancels in MSIE11

Explorer | Level 3

It works fine on the demo page. Which probably means it's an issue under very specific circumstances.

Is there any way I can send login details to you via DM or email? It's a fairly complex web-app that cannot simply be made public. And since I don't know which feature might be messing up the Dropbox API, I don't want to exclude any features at this time.

Highlighted

Re: Dropbox Chooser cancels in MSIE11

Dropboxer
Dropboxer

Sure, if you'd prefer to share privately, please send the details in an API ticket here: https://www.dropbox.com/developers/contact

Thanks!

Highlighted

Re: Dropbox Chooser cancels in MSIE11

Explorer | Level 3

I'll send you the logins via the contact form in a moment.

I've been debugging the error a bit more. What seems to happen is that in this piece of the Dropbox SDK something occurs:

var t = function() {
a.closed || (a.close(),
a.postMessage(JSON.stringify({
method: "close"
}), Dropbox.baseUrl)),
Dropbox.removeListener(window, "message", r),
clearInterval(c)
}
, r = function(e) {
e.source !== a && e.source !== (void 0 !== s.ieframe && null !== s.ieframe ? s.ieframe.contentWindow : void 0) || s.handleMessageEvent(e, t, n)
}
, i = n.iframe ? "" : o + ",resizable,scrollbars"
, a = window.open(e, n.windowName || "dropbox", i);

By the time function t is called, a is an empty object and so a.postMessage throws an error. 

Highlighted

Re: Dropbox Chooser cancels in MSIE11

Dropboxer
Dropboxer

Thanks for the investigation! We've received your ticket and will look into this issue using the resources you've supplied.

Highlighted

Re: Dropbox Chooser cancels in MSIE11

Explorer | Level 3

I'm experiencing the same issue at the moment in our webapp. Have you found the cause for this issue or a solution on how to solve it?

Highlighted

Re: Dropbox Chooser cancels in MSIE11

Dropboxer
Dropboxer

@RobbertEquse Neither of us were able to reproduce this issue on other computers. It appeared it was only happening on that one particular computer.

Are you able to reliably reproduce this? If so, can you share the steps to do so so we can look into it? Thanks in advance! 

Highlighted

Re: Dropbox Chooser cancels in MSIE11

Explorer | Level 3

@Greg-DB We can actually reproduce this on multiple computers / environments. The dropbox chooser works the first time and every attempt after that triggers the error. Even reloading the page or closing the browser does not solve the problem. I have been experimenting with logging out in de popup and sometimes it does work but most of the time it just reports the error.

Could you provide wat you need from me or give some pointers on how to debug this behaviour?

Highlighted

Re: Dropbox Chooser cancels in MSIE11

Dropboxer
Dropboxer

@RobbertEquse Thanks for following up. The following information would be useful to help us investigate:

  • the specific steps you're following that result in this issue (e.g., please share the URL for the page you're trying this on, what you click, etc.)
  • the exact version number(s) of Internet Explorer in which you're seeing this issue
  • the full error/output you're getting
  • whether or not you also see the issue on https://www.dropbox.com/developers/chooser

As above, if you'd prefer to share privately, please send the details in an API ticket here: https://www.dropbox.com/developers/contact

Polls
Do you know how to organize your files and folders?
<b>We have created a guide on folder best practice, so you can get organized now <a href="https://www.dropboxforum.com/t5/Business-Tips-tricks/Folder-structure-best-practice/m-p/428456#M39"><u>check it out here</u></a>.</b>

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?