web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create Item when file ...
Power Automate
Unanswered

Create Item when file added in library with JSON Error

(0) ShareShare
ReportReport
Posted on by 1,119

Hi there,

 

I have a Audio Document Library where i am storing the recorded voice message from users. All these files are in .mp3 format.

I would like to create a Item in Share point list and add the Audio File as attachment to the list item whenever the users uploads into Audio Library.

 

I tried to create a flow as below. But i am getting some JSON errors. Can any one please help how do i add the audio file as attachment to my sharepoint list item ?

 

I just tested the flow with two steps, but there is itself it fails. So i would like to know why this is not reading my mp3 file.

 

venka91_0-1648965424150.png

 

venka91_1-1648965496232.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    AH-22072022-0 Profile Picture
    on at

    Hi venka91, please change the first action from (properties Only) to "When a file is created or modified in a folder" action and then please remove "FullPath" and use "xs-ms-file-path-encoded" as below:

    ammarhaider22_0-1648966932374.png

    Please like and mark this as answer if it was helpful.

  • venka91 Profile Picture
    1,119 on at

    Thank you. I changed the file path and now it's reading my file and creating item in my list as expected.

     

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard