HTTP 413 Payload Too Large when uploading file
Upload PDF is rejected by proxy before the application can check the file type.
How to identify the source of the problem
Compare request size with proxy, platform and endpoint limit.
Save method, status, headers and anonymized body requests and answers.
Repair steps
Direct large files directly to authorized storage, leaving metadata in API.
How to Test Solution
Allowed upload works and exceeding the limit gives a clear message.
Security and restrictions
Do not disable authorization or validation of webhook signature for status 200. Wash the tokens in the logs.