Posts
Just a wee bit.
Alt Text: A cartoon illustration of a tiny ghost being seen by a bellhop and some guests in a hotel lobby. Caption reads "The hotel was only a little haunted."
Be careful out there!
Alt Text: A cartoon illustration of a kid walking past a Halloween yard display with a large purple monster hiding in it. Caption reads "Only during the month of October would the child-eating Vanderbeast, normally found lurking under beds, hide in plain sight as it waited for prey to approach."
October was always his favorite month.
Alt Text: A cartoon illustration of a teachers sitting for a staff photo looking worriedly at the principal who is a skeleton in a suit. Caption reads "Picture day."
It was time again.
Alt Text: A cartoon illustration of a two kids dressed as a witch and a devil laying in a ditch of colored leaves eating candy as a dog watches. Caption reads "The Season of the Ditch."
Beware.
Alt Text: A cartoon illustration of two kids surprised to see a man made entirely of colored leaves sitting in a tree staring at them. Caption reads "The children had always been warned to watch out for the "Fall Guy."
Getting 400 error when creating a post
I am created a piefed interface as a fun personal project but every time I try to create a post I get the following error:
{
"code": 400,
"message": "Validation failed",
"status": "{'json': {'title': ['Missing data for required field.'], 'community_id': ['Missing data for required field.']}}"
}
It says I'm missing the title and community but here's what the body looks like on my most recent attempt:
{
"body": "[Source](https://mstdn.social/@grickle/115345057031028219)\n\nAlt Text: A cartoon illustration of a vampire in his living room surrounded by his pesky West Highland terriers. Caption reads \"He and the Westies had tormented the village for centuries now.\"",
"community_id": 891,
"language_id": 0,
"nsfw": false,
"title": "Forever pests.",
"url": "https://media.mstdn.social/media_attachments/files/115/345/056/927/012/957/original/b20b96453c62665c.jpeg"
}
The title is very much there and so is the community ID. Am I missing something?