Delete row method returning a parsing error when it previously worked

cworkman
cworkman
edited 12/09/19 in API & Developers

Hello,

 

This method was not giving me any issues prior to today.

I'm using hte c# sdk. 

 

 

code:

smartsheet.SheetResources.RowResources.DeleteRows(long sheetId, Sheet getSheet, true)

returned error: 

NameValueType

▶$exception{"Unexpected character encountered while parsing value: <. Path '', line 0, position 0."}Smartsheet.Api.SmartsheetException

 

StackTrace:

   at Smartsheet.Api.Internal.AbstractResources.HandleError(HttpResponse response)

   at Smartsheet.Api.Internal.AbstractResources.DeleteResource[T](String path)

   at Smartsheet.Api.Internal.SheetRowResourcesImpl.DeleteRows(Int64 sheetId, IEnumerable`1 ids, Nullable`1 ignoreRowsNotFound)

   at SmartSheet_API_Integration.Program.ReloadSmartsheetsFromDataSource(String extractPath, SmartsheetClient smartsheet, Int64 sheetId, String query) in C:\Projects\trunk\Clients\Giant Oil\SmartSheet_API_Integration - Import - Comm Agent\SmartSheet_API_Integration\Program.cs:line 388

   at SmartSheet_API_Integration.Program.Main(String[] args) in C:\Projects\trunk\Clients\Giant Oil\SmartSheet_API_Integration - Import - Comm Agent\SmartSheet_API_Integration\Program.cs:line 84

 

Any idea why this would start happening when I haven't changed anything?

 

Thanks,

Channing

 

Comments