How to Debug Error Creating List Item in SharePoint via UpdateListItems SOAP API?

前端 未结 3 2032
闹比i
闹比i 2021-01-16 10:11

I\'m having a really tough time debugging a SharePoint SOAP call to create a list item. The SOAP body I\'m sending is:



        
3条回答
  •  星月不相逢
    2021-01-16 10:40

    Please ensure your list ID is correct and fields are using internal names only for the list you are adding item.

    Try putting your method inside try catch block. Put below section above catch block to have further details for the exception.

    catch (soapserver.soapserverexception ex)
    {    
         console.writeline(ex.detail.innertext);
    }
    

提交回复
热议问题