Open MHHukiewitz opened 1 year ago
The id_
field is a MongoDB ID and should never be shown, so that's a bug in the message API. I thought it was resolved. Anyway, it will never appear again with the new version so I wouldn't care too much about it.
The aggregate issue you mentioned is more problematic. Aggregates are supposed to be a key/value store. Some users post non-dict aggregates and these messages can be accepted on older pyaleph versions. I made the switch to enable this validation on the Postgres version, but it seems I was a bit trigger-happy with this change and I did not think about the messages currently stored on Mongo nodes. Here is the line that causes your problem in aleph-message.
We can revert it for now.
The following error occurs when I start listening to Aleph messages with
AlephClient.watch_messaages()
:It seems there are sometimes messages with
_id
orid_
fields when querying api2.aleph.im