Sending a private message without cc causes a 500 error
-
wrote on 19 Feb 2025, 21:57 last edited by
The logs from this are already cleared on my server, but when I sent a private message (standard Create/Note with a single recipient who also has a Mention in the tag property) from my custom software to my account here, I received a 500 error saying something like "cc is not iterable" (though I don't know the exact phrasing). When I included cc as an empty array, it started working. Not sure whether it was missing on Create or Note, maybe it was both.
-
The logs from this are already cleared on my server, but when I sent a private message (standard Create/Note with a single recipient who also has a Mention in the tag property) from my custom software to my account here, I received a 500 error saying something like "cc is not iterable" (though I don't know the exact phrasing). When I included cc as an empty array, it started working. Not sure whether it was missing on Create or Note, maybe it was both.
wrote on 21 Feb 2025, 02:50 last edited byrikudou As far as I understand things, a 'private message' in ActivityPub is Create / ChatMessage, not Create / Note. I think NodeBB wouldn't be the only software to complain if 'cc' is missing from either part of Create / Note (although it's not expected in either part of Create / ChatMessage).
-
rikudou As far as I understand things, a 'private message' in ActivityPub is Create / ChatMessage, not Create / Note. I think NodeBB wouldn't be the only software to complain if 'cc' is missing from either part of Create / Note (although it's not expected in either part of Create / ChatMessage).
wrote on 21 Feb 2025, 03:07 last edited byfreamon
Create(ChatMessage)
is not part of ActivityPub. From my light research online it is something added by a Pleroma extension and possibly supported by Lemmy.NodeBB will automatically slot received non-public notes as chat messages.
-
freamon
Create(ChatMessage)
is not part of ActivityPub. From my light research online it is something added by a Pleroma extension and possibly supported by Lemmy.NodeBB will automatically slot received non-public notes as chat messages.
wrote on 21 Feb 2025, 11:47 last edited byFYI the next Lemmy version will use
Create/Note
for private messages. You can test it on voyager.lemmy.ml -
FYI the next Lemmy version will use
Create/Note
for private messages. You can test it on voyager.lemmy.mlwrote on 29 May 2025, 19:45 last edited byIt seems all of the test instances are down? I get a 502 no matter which of voyager.lemmy.ml, enterprise.lemmy.ml, and ds9.lemmy.ml I try to open
-
It seems all of the test instances are down? I get a 502 no matter which of voyager.lemmy.ml, enterprise.lemmy.ml, and ds9.lemmy.ml I try to open
wrote on 30 May 2025, 11:20 last edited byYes not sure whats wrong there, the server was using a lot of cpu for no reason. Restart fixed it for now, let me know if it happens again.
-
Yes not sure whats wrong there, the server was using a lot of cpu for no reason. Restart fixed it for now, let me know if it happens again.
wrote on 30 May 2025, 11:38 last edited byVoyager still has an issue, but the others seem to work now
-
Voyager still has an issue, but the others seem to work now
wrote on 30 May 2025, 12:35 last edited byThat instance runs Lemmy 1.0 which is still in alpha state, and the frontend is not compatible yet. So only the api works there.