Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

On some recurring calls, Deserialize errors happens #133

Open
mermich opened this issue Sep 24, 2021 · 1 comment
Open

On some recurring calls, Deserialize errors happens #133

mermich opened this issue Sep 24, 2021 · 1 comment

Comments

@mermich
Copy link

mermich commented Sep 24, 2021

On some recurring calls, Deserialize errors happens. Any clue why it happen and when the issue will be solved ?

Unexpected character encountered while parsing value: <. Path '', line 0, position 0. Smartsheet.Api.SmartsheetException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
 ---> Smartsheet.Api.Internal.Json.JsonSerializationException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
 ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
   at Newtonsoft.Json.JsonTextReader.ParseValue()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
   at Smartsheet.Api.Internal.Json.JsonNetSerializer.deserialize[T](StreamReader inputStream)
   --- End of inner exception stack trace ---
   at Smartsheet.Api.Internal.Json.JsonNetSerializer.deserialize[T](StreamReader inputStream)
   at Smartsheet.Api.Internal.AbstractResources.HandleError(HttpResponse response)
   --- End of inner exception stack trace ---
   at Smartsheet.Api.Internal.AbstractResources.HandleError(HttpResponse response)
   at Smartsheet.Api.Internal.AbstractResources.ListResourcesWithWrapper[T](String path)
   at Smartsheet.Api.Internal.UserResourcesImpl.ListUsers(IEnumerable`1 emails, IEnumerable`1 includes, PaginationParameters paging)
   at Smartsheet.Api.Internal.UserResourcesImpl.ListUsers(IEnumerable`1 emails, PaginationParameters paging)

Or while calling ListColumns :

An unexpected error has occurred. Please contact the Support team at https://help.smartsheet.com/contact for assistance. Smartsheet.Api.InvalidRequestException: An unexpected error has occurred. Please contact the Support team at https://help.smartsheet.com/contact for assistance.
   at Smartsheet.Api.Internal.AbstractResources.HandleError(HttpResponse response)
   at Smartsheet.Api.Internal.AbstractResources.ListResourcesWithWrapper[T](String path)
   at Smartsheet.Api.Internal.SheetColumnResourcesImpl.ListColumns(Int64 sheetId, IEnumerable`1 include, PaginationParameters paging, Nullable`1 level)
@mermich
Copy link
Author

mermich commented Sep 24, 2021

Currently using dotnet core 3.1, NewtonsoftJson 13.0.1 and smartsheetsdk 2.126 version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant