#Deserialization error

1 messages · Page 1 of 1 (latest)

tiny sapphire
#

I got a deserialization error, thought I'd post this here. I am on twilight 0.15.2, so this may have been fixed in a newer version rs ReceiveMessageError { source: ReceiveMessageError { kind: Deserializing { event: <censored>, }, source: Some( Error("invalid value: integer `0`, expected non zero u64", line: 1, column: 1950), ), }, ```py
In [30]: event[1930:1955]
Out[30]: '},"application_id":0}]},"'

digital turret
#

could you give more info about the event body, snipping confidental parts or all values but itd be a good debugging lead

tiny sapphire
#

oh I got rid of the event type too

#

didn't mean to do that

#

it was a THREAD_MEMBERS_UPDATE, the path to that key is event["d"]["added_members"][0]["presence"]["game"]["application_id"]

quasi fulcrum
tiny sapphire