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 / Parse JSON from Azure ...
Power Automate
Unanswered

Parse JSON from Azure Data Lake Store

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to read a JSON file from the data lake (using Azure Data Lake Store - Read File) and then parse this (using Parse JSON) however I get the following error.

 

BadRequest. The property 'content' must be of type JSON in the 'ParseJson' action inputs, but was of type 'application/octet-stream'.

 

If I send the File Content output of the Read File action directly to an email then I can read the contents of the JSON, but I can't parse the output directly, or convert it using Initialize variable.

 

Is there a workaround to get access to the actual File Content and not the binary.

 

Capture.PNG

 

Capture.PNG

 

 

 

Categories:
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    hi @Anonymous  this could be a temporary issue my friend, please wait 24hr, if not I suggest you to open a microsoft support case.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    this didn't resolve itself after 24 hours. i'm back again at the same problem this time with another flow.

     

    any help greatly appreciated !

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    I'm having a similar issue too.

     

    How did you manage to solve this?

  • Ellis Karim Profile Picture
    12,336 Super User 2026 Season 2 on at

    I don't know if this will provide a work around, but can you put the file content into a compose action, then use expressions to access the content? This avoids using Parse JSON and may give you access to the File content properties:

    2021-09-28_21-42-00.jpg

     

    ekarim2020_0-1632862251742.png


    Ellis

     


    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Ayush Singroul Profile Picture
    2 on at

    When data mime-type is application/octet-stream then you can use below function to get JSON data

    decodeUriComponent(base64ToString(items('Apply_to_each_|_Note')?['documentbody']))

    replace items('Apply_to_each_|_Note')?['documentbody'] with your variable/parameter.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard