I am using
SP.ClientContext (JS library) to update some item's fields.
It is working fine on IE but on Chrome I get this error (displayed as alert):
Request Failed, status code 0 text ''
The error is thrown on the line
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
Looking at your error I remember coming across this.. This error used to appear intermittently and not always.
This error appears because in SharePoint 2013 the way we have to use JS is changed.
I had solved this problem by disabling MDS: How to turn off MDS on all site collections and sites?
After running above powersheel to disable the MDS (or do it via UI) let me know if the error still persists.
Please note that MDS is a new feature in 2013 which is activated by default. It is not good practice to disable this, but if you wish you can disable it and you will be getting the same pageload performance as SP2010...
The foll. articles describe how to use JS with SharePoint 2013 with MDS enabled: