---
title: "Discussion on \"How to Upload Audio and Video to Cloudinary in Nodejs\" | Hashnode"
description: "Discussion on \"How to Upload Audio and Video to Cloudinary in Nodejs\". After reading the documentation, I ran across a few problems uploading audio and video to cloudinary. Although I read some publications online, such as StackOverflow, the methodology differs and appears a little complex. Still, after discovering a te..."
url: "https://hashnode.com/posts/how-to-upload-audio-and-video-to-cloudinary-in-nodejs/60c729454e04b16f76731cfb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Upload Audio and Video to Cloudinary in Nodejs](https://blog.idrisolubisi.com/how-to-upload-audio-and-video-to-cloudinary-in-nodejs?utm_source=hashnode&utm_medium=feed)

After reading the documentation, I ran across a few problems uploading audio and video to cloudinary. Although I read some publications online, such as StackOverflow, the methodology differs and appears a little complex. Still, after discovering a te...

Jun 14, 2021 · 5 min read · blog.idrisolubisi.com  
Updated Mar 31, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#cloudinary](https://hashnode.com/tag/cloudinary)
-   [#apis](https://hashnode.com/tag/apis)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Idris Olubisi](https://hashnode.com/@olanetsoft)

@olanetsoft · Lagos, Nigeria.

  
[View profile](https://hashnode.com/@olanetsoft)

Developer Relation Engineer | Software Engineer | Technical Writer

Software Engineer | Developer Advocate | Technical Writer | Content Creator

## Responses 3

Markdown supported · ⌘↵ to post

[Pooja](https://hashnode.com/@pooja131)

[Jul 21, 2021](https://hashnode.com/posts/how-to-upload-audio-and-video-to-cloudinary-in-nodejs/60c729454e04b16f76731cfb/comment/60f7ccee3e181324dac71d7b)

Hi i want to store the audio file in database when i try your solution i am getting error "const { path } = req.file; // file becomes available i am not getting what to do can you help me out

[Idris Olubisi](https://hashnode.com/@olanetsoft)

[Jul 21, 2021](https://hashnode.com/posts/how-to-upload-audio-and-video-to-cloudinary-in-nodejs/60c729454e04b16f76731cfb/comment/60f7ccee3e181324dac71d7b#reply-60f7e33e3e181324dac72101)

Hi [Pooja](https://hashnode.com/@pooja131) thanks for reaching out. I have a few confirmations

1.  where exactly did you add the "const { path } = req.file; // file becomes available" in the codebase, this matters because it's only available after the actual upload is done.
    
2.  can you share a link to the repo for additional troubleshooting if option1 did not fix it.
    

[Pooja](https://hashnode.com/@pooja131)

[Jul 22, 2021](https://hashnode.com/posts/how-to-upload-audio-and-video-to-cloudinary-in-nodejs/60c729454e04b16f76731cfb/comment/60f7ccee3e181324dac71d7b#reply-60f91de174648858f4bb43b6)

okat i will share[Olubisi Idris Ayinde](https://hashnode.com/@olanetsoft) yes i will share you link of repo

[Savio Martin](https://hashnode.com/@saviomartin)

[Jun 15, 2021](https://hashnode.com/posts/how-to-upload-audio-and-video-to-cloudinary-in-nodejs/60c729454e04b16f76731cfb/comment/60c8a188590a5c065656643e)

Thank you [Olubisi Idris Ayinde](https://hashnode.com/@olanetsoft) for the amazing blog! Enjoyed every bit of it! Great expanation! Cloudinary was super new to me and this blog made me learn more of it! This is super helpdul in my future projects! Thanks [Olubisi Idris Ayinde](https://hashnode.com/@olanetsoft), Keep the amazing content coming! 🔥

[Idris Olubisi](https://hashnode.com/@olanetsoft)

[Jun 15, 2021](https://hashnode.com/posts/how-to-upload-audio-and-video-to-cloudinary-in-nodejs/60c729454e04b16f76731cfb/comment/60c8a188590a5c065656643e#reply-60c92b6980c5541363dd2949)

Thank you [Savio Martin](https://hashnode.com/@saviomartin) for reading. I am glad you find it useful.

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Jun 15, 2021](https://hashnode.com/posts/how-to-upload-audio-and-video-to-cloudinary-in-nodejs/60c729454e04b16f76731cfb/comment/60c856cebbd8c506819af121)

Amazing, [Olubisi Idris Ayinde](https://hashnode.com/@olanetsoft)!

I enjoy your writing style and articles! 🔥

[Idris Olubisi](https://hashnode.com/@olanetsoft)

[Jun 15, 2021](https://hashnode.com/posts/how-to-upload-audio-and-video-to-cloudinary-in-nodejs/60c729454e04b16f76731cfb/comment/60c856cebbd8c506819af121#reply-60c87e97590a5c065656613b)

Thank you [Catalin Pit](https://hashnode.com/@Catalinpit) I really appreciate your feedback. ☺️
