Cuando realice una operación con AllowWriteStreamBuffering establecido como false, debe establecer ContentLength como un número no negativo o establecer SendChunked como true.
Click to search this error in Google
English version
When performing a write operation with AllowWriteStreamBuffering set to false, you must either set ContentLength to a non-negative number or set SendChunked to true.