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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Parse JSON from Azure Data Lake Store

(0) ShareShare
ReportReport
Posted on by

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

 

 

 

I have the same question (0)
  • ChristianAbata Profile Picture
    8,949 Most Valuable Professional on at
    Re: Parse JSON from Azure Data Lake Store

    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
    on at
    Re: Parse JSON from Azure Data Lake Store

    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
    on at
    Re: Parse JSON from Azure Data Lake Store

    Hi,

     

    I'm having a similar issue too.

     

    How did you manage to solve this?

  • Ellis Karim Profile Picture
    11,473 Super User 2025 Season 2 on at
    Re: Parse JSON from Azure Data Lake Store

    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
    Re: Parse JSON from Azure Data Lake Store

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard