413 Content Too Large Error | Community
Skip to main content

413 Content Too Large Error

  • April 21, 2025
  • 1 reply
  • 0 views

We have developed a private custom app for Support that securely sends a ticket attachment to a third-party URL for faxing. The API used is described here: https://developer.zendesk.com/api-reference/apps/apps-core-api/client_api/#clientrequestoptions

 

The app has been working without problems since October of last year. Last week we attempted to send an 8.5 MB attachment to the URL and we encountered a “413 (Content too large)” error. In order to verify that the error does not come from the third-party site, I sent the same file to the third-party URL directly from my development system. It seems like POST requests sent via the listed API now have a size limit.

 

I can send a 1.8 MB file via the API so I have confirmed that indeed the problem is related to a newly placed size limit. 

 

This new size limit is a bit of a head scratcher for me. The API call should be able to handle at least the maximum documented attachment size of 50 MB's: https://support.zendesk.com/hc/en-us/articles/4408832757146-Enabling-attachments-in-tickets#topic_lv2_cnx_xdb

 

This change is blocking our ability to perform crucial business tasks and needs to be addressed ASAP!

1 reply

  • Author
  • May 12, 2025

If anybody else comes across this post, the client.request() call has a newly enforced, undocumented, maximum size of 6 MB.