File passed as parameter to webservice object has incorrect Content-Length

I have a webservice object.
I added a file to the HTTP Body as ${file} whose name I set when I call findtestobject

Katalon seems to set Content-Length automatically to 1206772 when my file is actually 800255 bytes long

I have tried passing the correct content-length as a parameter to the headers but it doesn’t get used.

is there a better way for me to set the http body? is there a better way for me to set the content-length? is there a way for me to script overriding the incorrectly calculated value?

I used the RestRequestObjectBuilder instead and it worked correctly