I really love SPServices, so i hope identifying this issue will help to keep the quality of this library.
Implemented Javascript libraries:
jquery-1.10.2.min.js
jquery.SPServices-2013.02a.js
I try to get the rootfolder name of a document library. It works like a charm in SP 2010.
Within SP 2013 i have the following problem:
xData.responseXML returns an "Unspecified error"

xData itself returns a success status and xData.responseText contains the expected value.

```
var currentFolderPath = "";
$().SPServices({
operation: "GetList",
async: true,
webURL: "/",
listName: listName,
completefunc: function (xData, Status) {
$(xData.responseXML).find("List").each(function() {
currentFolderPath = $(this).attr("RootFolder");
});
}
});
```
Comments: Paul: Async doesn't change how completefunc behaves, but there is usually a timing issue if async: true and there is code in completefunc. This has been the case since the first versions of SPServices. I *think* you and I are on the same page on this, though I note that we never hashed out this issue fully: https://spservices.codeplex.com/workitem/10182 M.
Implemented Javascript libraries:
jquery-1.10.2.min.js
jquery.SPServices-2013.02a.js
I try to get the rootfolder name of a document library. It works like a charm in SP 2010.
Within SP 2013 i have the following problem:
xData.responseXML returns an "Unspecified error"

xData itself returns a success status and xData.responseText contains the expected value.

```
var currentFolderPath = "";
$().SPServices({
operation: "GetList",
async: true,
webURL: "/",
listName: listName,
completefunc: function (xData, Status) {
$(xData.responseXML).find("List").each(function() {
currentFolderPath = $(this).attr("RootFolder");
});
}
});
```
Comments: Paul: Async doesn't change how completefunc behaves, but there is usually a timing issue if async: true and there is code in completefunc. This has been the case since the first versions of SPServices. I *think* you and I are on the same page on this, though I note that we never hashed out this issue fully: https://spservices.codeplex.com/workitem/10182 M.