ActivityPub C2S: "Internal server error" on publishing new Note
Using the alpha build of AndStatus (attached to this comment: https://github.com/andstatus/andstatus/issues/499#issue-389014088 ) I was able to log into pleroma.site, download a timeline. Then I created a reply to a Note and got BAD_REQUEST (400) response and JSON with "Internal server error" detail (which is inconsistent, but that is another bug...).
Below is the posted JSON content:
{
"@context": "https:\/\/www.w3.org\/ns\/activitystreams",
"type": "Create",
"to": [
"https:\/\/pleroma.site\/users\/ActivityPubTester",
"https:\/\/www.w3.org\/ns\/activitystreams#Public"
],
"actor": "https:\/\/pleroma.site\/users\/AndStatus",
"object": {
"attributedTo": "https:\/\/pleroma.site\/users\/AndStatus",
"type": "Note",
"to": [
"https:\/\/pleroma.site\/users\/ActivityPubTester",
"https:\/\/www.w3.org\/ns\/activitystreams#Public"
],
"name": "Testing ActivityPub C2S",
"content": "@activitypubtester@pleroma.site Thank you for testing #ActivityPub Client to Server implementation in #AndStatus<br \/>See related discussion: https:\/\/github.com\/andstatus\/andstatus\/issues\/499",
"inReplyTo": "https:\/\/pleroma.site\/objects\/34ab2ec5-4307-4e0b-94d6-a789d4da1240"
}
}
I tried to post from another account, without "name" property - the same effect.