BloggingAbout.NET
Thoughts of developers
Sharepoint WSS 3.0: Lists.asmx Error Codes

Just some notes relating to error codes received during Sharepoint integration using the UpdateListItems method of the  lists.asmx service.

A value in the update for a column exceeded the maximum column size.

<ErrorCode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x81020018</ErrorCode>
<ErrorText xmlns="http://schemas.microsoft.com/sharepoint/soap/">Invalid text value

A text field contains invalid data. Please check the value and try again.</ErrorText>

A column to be updated was passed in that did not exist.

<ErrorCode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x81020014</ErrorCode>
<ErrorText xmlns="http://schemas.microsoft.com/sharepoint/soap/">One or more field types are not installed properly. Go to the list settings page to delete these fields.</ErrorText>
  </Result>

The field being updated was a lookup field that allows multiple values and the value passed in contained a trailing ";".  A trailing semi-colon only seems to be an issue when it is the first item in the list.

<!-- <Field Name="VehicleFeatures">1,#Cassette Radio;</Field> -->
<ErrorCode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x80070057</ErrorCode>
<ErrorText xmlns="http://schemas.microsoft.com/sharepoint/soap/">Bad parameter passed to Web Server Extensions.  Check the information you entered and try again.</ErrorText>
</Result>


Posted Thu, Mar 6 2008 2:01 PM by chilberto

Comments

Arthur wrote re: Sharepoint WSS 3.0: Lists.asmx Error Codes
on Tue, Jun 17 2008 12:44 PM

The 0x81020018 error can also be caused by the fact that you are trying to update an object in a list without specifying the FileRef property. I've wrote some comment on that issue here: forums.microsoft.com/.../ShowPost.aspx

Tulasi wrote re: Sharepoint WSS 3.0: Lists.asmx Error Codes
on Wed, Jan 20 2010 5:53 AM

I am trying add an item which a multivalue lookup field using UpdateListItems() The throwing the invalid data of lookup field.

in which way we have to send the soap request to save the multi values at the time of adding the item.

Please suggest.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?

Please add 4 and 3 and type the answer here:
Copyright © 2003-2010 BloggingAbout.NET