Functions HTTP 411

When receiving an empty post without Content-Length on a function, Netlify is returning a 411 error (which is, you know, reasonable…).

Is it possible to configure the function to accept requests without Content-Length? I have zero control on the request, is an external webhook and cannot change it. I need to return 200 to be able to integrate this service with Netlify.


hey @butaca,

our functions pro Dennis is out of the office today and tomorrow, but i will make sure he sees this and we’ll get you an answer as soon as we can.

Hi @butaca, I think that the Content-Length is something that our proxy requires. Are you using a redirect rule to proxy a path on your site to your .netlify/functions/name path? If you are, can you try invoking the function directly and see if that helps?