corsfine-uploader

Error reason for "XHR returned response code 0"


I'm trying to use fineuploader to upload an image to a complete url (http://website.net/folder1/folder2/). However i'm receiving this error:

error on file number x - <file name>. Reason: XHR returned response code 0

Any ideas?


Solution

  • Either you are attempting to make a cross origin request without the server returning proper CORS headers (or in a browser that doesn't support CORS) or the response is coming back completely empty due to a network error, or some browser extension may be messing with the request. You haven't provided any information about your situation at all, so this is the only answer i can offer.