413 Payload Too Large error on very small (3.6MB) file

Trying to upload an image via a flask application/angular frontend. The request doesn't appear to be making it to Flask at all, as I'm not getting a sentry error or any request log seems to be hitting the endpoint.
1 Reply
Method
MethodOP2w ago
there is a cloudflare worker that's in front of all requests, could that be it? should I add a rule that bypasses that worker? I'm not seeing any logs in the cloudflare worker for that request so perhaps thats not it either solved: this was nginx :facepalm: added client_max_body_size 100M; to my config.

Did you find this page helpful?