HTTP Request 413: Cannot send anything >1MB

What is the name of the domain?

cdn.notfbi.dev

What is the error number?

413

What is the error message?

N/A

What is the issue you’re encountering

Max request is set to 100MB - Cannot upload larger than 1MB

What steps have you taken to resolve the issue?

Checked logs, firewall, ddos protection, and added a allowlist for API requests

What are the steps to reproduce the issue?

I have my API key in the header along with file metadata (name and extension only). The file itself is being sent as binary via POST payload

I should clarify I am not using the built in CDN, I am hosting that part myself and the requests never make it to my server to begin with. I’ve seen other posts saying that the max image size is 10MB but I have a 1.5MB that still fails.

Found it was the issue with my nginx config, didn’t think to check the nginx logs because I figured there wouldn’t be a limit or at least not 1MB

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.