question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

filesDownload throws when there is no file to download

See original GitHub issue

When calling filesDownload for an inexistent file it throws the following exception:

VM23710:1 Uncaught DOMException: Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'blob')
    at Error (native)
    at eval (eval at evaluate (unknown source), <anonymous>:1:9)
    at Request.eval (eval at <anonymous> (http://localhost:8080/app.js?22121933094bd80a6063:13:100), <anonymous>:506:45)
    at Request.Emitter.emit (eval at <anonymous> (http://localhost:8080/app.js?22121933094bd80a6063:46:3874), <anonymous>:133:20)
    at XMLHttpRequest.xhr.onreadystatechange (eval at <anonymous> (http://localhost:8080/app.js?22121933094bd80a6063:13:100), <anonymous>:886:10)

From the stack trace, it look like the problem lies with the superagent lib used by dropbox.

Chrome 54, dropbox-2.4.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

5reactions
greg-dbcommented, Oct 26, 2016

Thanks for the report! We’ll look into it.

3reactions
greg-dbcommented, Apr 28, 2017

No, unfortunately I don’t have an ETA on this right now. We’ll follow up here once we have an update for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix file download errors - Google Chrome Help
Fix most file download errors. If you try to download a file and it doesn't work, first try to fix the error with...
Read more >
Spring Boot Exception during download results in empty file
The report generation works, but I can't get the file download to behave as I expected. Currently: The download link is used with...
Read more >
File Download with Error Handling - Atlantbh Sarajevo
How to detect download errors and notify the user when they happen? Here are a few methods with their advantages and disadvantages.
Read more >
Wait for Download: The {file} was found but it's in use - Activities
This works perfectly when downloading most any file from the web. ... the FileInfo object to Nothing at the end of each file...
Read more >
[Bug] File download does not work #16168 - GitHub
The download notification with progress bar is displayed for a long while, then error is thrown. The issue happens also if the External...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found