This project has moved. For the latest updates, please go here.

0x81020077 : Could not access server

Jun 27, 2013 at 11:58 AM
Thank you for creating such useful library.

I am using this library with one of our project with Office 365 and SharePoint 2013. I have a problem updating lists from my Office-365 sharepoint hosted app. My SPServices call can update a list inside my site, but when I webURL back to the site collection, I can read lists but cannot update them. I have permissions set to full control for sitecollections and I know the SPService code works when webURL is removed and I point to local lists (not at the site collection level).

When attempting to update records the response is "success" but internal soap has all the records unmodified and the error message is ErrorCode = 0x81020077 and ErrorText = "Could not access server". Here is the code snippet that I am using :
    function CreateRec() {
            operation: "UpdateListItems",
            webURL: window.location.protocol + "//" +,
            async: false,
            batchCmd: "New",
            listName: "test",
            valuepairs: [["Title", "Test"]],
            completefunc: function (xData, Status) {
Jun 27, 2013 at 4:34 PM
If you're trying to update an item in a list in the root site, just use the relative path:

webURL: "/"