DEV Community

ochieng seth
ochieng seth

Posted on

7 3

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😁

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay