I am running PHP scripts as agents to update SharePoint items in bulk. Sometimes they update close to 9-10K records in each run. I have multiple agents that run several times in a day. Some times the Update command is throwing the below error. It is happening for random records. If a record is not updating in one run, the same updates fine in another run. So clearly there is no issue with the record or the data that is being updated.
Error (Client) looks like we got no XML document,more= //(there are no more details given in the error)
I tried using try catch but the code does not even go into the catch. I tried adding a 2 second sleep but it did not work either. Can you think of anything that might cause this?
I am running PHP scripts as agents to update SharePoint items in bulk. Sometimes they update close to 9-10K records in each run. I have multiple agents that run several times in a day. Some times the Update command is throwing the below error. It is happening for random records. If a record is not updating in one run, the same updates fine in another run. So clearly there is no issue with the record or the data that is being updated.
updateItem($sp, $id, $Status, $Status_x0020_Text, $DaysOverdue, $varMIDate);
Error (Client) looks like we got no XML document,more= //(there are no more details given in the error)
I tried using try catch but the code does not even go into the catch. I tried adding a 2 second sleep but it did not work either. Can you think of anything that might cause this?