Unable to create item using .NET client library
Hi,
We have the integration done between our website and Podio for a while but it only fail recently. The error below is returned from the Podio's library
Newtonsoft.Json.JsonReaderException: at Newtonsoft.Json.JsonTextReader.ParseReadNumber (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at Newtonsoft.Json.JsonTextReader.ReadNumberValue (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at Newtonsoft.Json.JsonTextReader.ReadAsInt32 (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at Newtonsoft.Json.JsonReader.ReadForType (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at Newtonsoft.Json.JsonConvert.DeserializeObject (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at Newtonsoft.Json.JsonConvert.DeserializeObject (Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed) at System.Dynamic.UpdateDelegates.UpdateAndExecute2 (System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) at PodioAPI.Podio.Request (Podio.NET, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null) at System.Dynamic.UpdateDelegates.UpdateAndExecute5 (System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) at PodioAPI.Podio.Post (Podio.NET, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null) at PodioAPI.Services.ItemService.AddNewItem (Podio.NET, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null) at
The message return is:
JSON integer 2363686647 is too large or small for an Int32. Path 'item_id', line 1, position 1491.
Using the Podio.NET library version 1.5.9 and it seems no later version of it can be found on Nuget.
Hopefully someone can assist us with above.
Regards,
Hiep Le
Please sign in to leave a comment.
Comments
0 comments