I fixed the bug! These are the lines that were missing from my postOneScream firebase function

if (req.body.body.trim() === "") {
    return res.status(400).json({ body: "Body must not be empty" })

There was an if statement there but it was for a more general error. In hindsight, of course the error was on the backend. It took me a minute to figure it out. 🤦🏾‍♀️

These are the small victories that are so satisfying. I'm in the last couple of hours of this course and honestly I'm ready to finish and move on to another project. It has been a long journey. I just want to be done. We're getting there. Today I added the feature that allows you expand an individual scream in a dialog.

walkthrough of posting a scream and getting an error