-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "Content-Length" #127
Comments
Hello @Daniyal83 I had the same problem, my solution was update the form-data dependency of unirest-nodejs to the last version (2.5.1) on the package.js of unirest-nodejs |
I am facing the same error. I use "unirest": "^0.6.0" and "form-data": "^3.0.0" |
Hi All , |
How you updated, its internally used by unirest |
Still getting this error with unirest 0.6.0 and form-data 4.0.0 while trying to upload attachments in Freshdesk. Most annoying part is I can't figure out how to catch it so it keeps stopping program execution -
Error thrown - PS C:\Users\jaywi\Downloads\SW Dev\Heroku Node JS\CSQ> node migratemoretest.js > migrate_output.txt TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "Content-Length" |
Hello. When I use unirest to make a request a get an error ' Invalid value "undefined" for header "Content-Length" '. How can I prevent that? It happens from time to time, but not every time. I'm using node.js on backend for my application. Here is my function
The text was updated successfully, but these errors were encountered: