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.

"XML Parsing Error: no root element found" on upload

See original GitHub issue

Getting a XML Parsing Error: no root element found after I upload a file in Firefox. Using v0.2.1.

I’m surprised there is an error since I have a very basic setup. What am I missing?

Edit: I’m seeing the same error in the console when trying the demos on Filestack’s website

screen shot 2017-03-11 at 8 42 35 pm

My code:

let filestackClient = filestack.init('mykey');
filestackClient.pick({
    maxFiles: 1,
    accept: ['image/*'],
    startUploadingWhenMaxFilesReached: true,
    fromSources: ['local_file_system', 'facebook']
})

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
velveteercommented, Mar 12, 2017

Hey @tlshaheen, thanks for reporting this. I was able to replicate the issue in Firefox 52. Is this error causing upload failures on your end? When reproducing it didn’t seem to halt the upload flow.

We’ll look into this and let you know what we find.

0reactions
thomaslange24commented, Jun 25, 2019

I also would like this issue to be reopened since i am facing the same Problem with a multipart upload from the browser. For me it also causes the upload to fail. This happens in Firefox, but not in Google Chrome. I am using EvaporateJs for the multipart upload.

Read more comments on GitHub >

github_iconTop Results From Across the Web

XML Parsing Error: no root element found Location in Console ...
Based on my research, the error message is only generated by FireFox when the render page is blank in Internet. For some reason,...
Read more >
XML Parsing Error: no root element found - WordPress.org
Hi, this can happen if another plugin (or your theme) inserts some stuff that breaks the XML markup. It can even be a...
Read more >
"XML Parsing error: no root element found" in the Firefox ...
Hello, I am trying to use the AjaxFileUpload control from the ASP.NET AJAX Toolkit v17.1.1.0 in my ASP.NET web application.
Read more >
XML Parsing Error: no root element found - Mozilla Support
Then I tried open any site in Firefox on Android I saw next error: XML Parsing Error: no root element found Location: ...
Read more >
firefox-esr: shows 'XML Parsing Error: no root element found ...
Bug#1008659: firefox-esr: shows 'XML Parsing Error: no root element found' when using Zoom. 81 views.
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