Skip to main content

When I attempt to upload an attachment to Freshdesk with chunked Transfer-Encoding, the request fails. It appears that you are running an outdated version of the nginx proxy that does not support chunked Transfer-Encoding (http://serverfault.com/questions/164220/is-there-a-way-to-avoid-nginx-411-content-length-required-errors).


Request:

curl -u user@company.com:password --header "Transfer-Encoding: chunked" -F "helpdesk_note[attachments][][resource]=@/path/to/file.jpg" -F "helpdesk_note[body]=Note content" -F "helpdesk_note[private]=false" -X POST https://domain.freshdesk.com/helpdesk/tickets/[id]/conversations/note.json


Response:

<html>

<head><title>411 Length Required</title></head>

<body bgcolor="white">

<center><h1>411 Length Required</h1></center>

<hr><center>nginx/1.2.9</center>

</body>

</html>













Hello Brian,






Our sincere apologies for missing out on updating this thread. We see that the issue is no longer reproducible and hence closing out this thread . Should you have any questions, please drop us a note here and we'll act on it straightaway.






Cheers!