EmmaSharp icon indicating copy to clipboard operation
EmmaSharp copied to clipboard

Error on ListGroupMembersCount

Open Yeoman742 opened this issue 7 years ago • 3 comments

Getting an exception when trying to get a count of members in a specific group.

Message = "Unexpected character encountered while parsing value: [. Path '', line 1, position 1." StackTrace = " at Newtonsoft.Json.JsonTextReader.ReadNumberValue(ReadType readType)\r\n at Newtonsoft.Json.JsonTextReader.ReadAsInt32()\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean ... TargetSite = {System.Object ReadNumberValue(Newtonsoft.Json.ReadType)}

Yeoman742 avatar Dec 13 '18 22:12 Yeoman742

@Yeoman742 Do you expect there was a high number of members on the group? Higher than, say, an int32 would hold?

kylegregory avatar Jun 05 '19 15:06 kylegregory

No, we are only talking about anywhere between 6,000 to 20,000. I think an int32 can old that fine.

Yeoman742 avatar Jun 05 '19 15:06 Yeoman742

@Yeoman742 May try updating to v1.3.0 just released. It updates a lot of the Emma "ids" to longs, and that may help. Otherwise, I'd need to know more about what is happening.

kylegregory avatar Jun 05 '19 16:06 kylegregory