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

Discussion (4)

Collapse
korneldoe profile image
Kornel

Helped a lot! Thank you

Collapse
coucoseth profile image
ochieng seth Author

NICE nice๐Ÿ˜…

Collapse
unnaidan profile image
unnaidan

thank you, you made my day

Collapse
coucoseth profile image
ochieng seth Author

am gald i did๐Ÿ˜