NodeJS + AWS + ElasticBeanstalk + Nginx + 413 Error — Ruh Roh

Turn it off and then turn it back on? Damn, hadn’t thought of that

But… it worked locally, I pitifully mumbled at my screen. For some reason, the NodeJS API I had recently deployed to production on AWS using ElasticBeanstalk was returning a 413 (Request Entity Too Large) when a user attempted to upload an attached file. Without the ability to upload, we basically didn’t have an app!