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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard