DEV Community

ochieng seth
ochieng seth

Posted on

 

Error: Multipart: Boundary not found

I got this when uploading files to my nodejs API from my react and react-native apps and the problem was with my axios version. i was running the latest at the time which is 0.25.0 so i had to downgrade to 0.21.4.
first uninstall axios

npm uninstall axios
Enter fullscreen mode Exit fullscreen mode

then install version 0.21.4 or any other version that you have used before that works without getting this error. in my case it was version 0.21.4

npm install axios@0.21.4
Enter fullscreen mode Exit fullscreen mode

Hope it works for you

Top comments (4)

Collapse
 
korneldoe profile image
Kornel

Helped a lot! Thank you

Collapse
 
coucoseth profile image
ochieng seth

NICE nice😅

Collapse
 
unnaidan profile image
unnaidan

thank you, you made my day

Collapse
 
coucoseth profile image
ochieng seth

am gald i did😁

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.