TypeError axios
Silent failure when data.getLength fails in Node http adapter
JavaScript Node.js 0 people found this helpful
Environment
- Library Version
- 1.7.x - 1.13.6
- Language
- JavaScript
- Framework
- Node.js
- Operating System
- Windows, Linux, macOS
Solutions
No solutions available
Alternatives
- Ensure form-data streams are valid and calculable
- Manually set Content-Length header if known beforehand
- Handle 411/400 errors on the server side as per HTTP spec