Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

How to retrieve JSON

(0) ShareShare
ReportReport
Posted on by 11

Hello

I'm trying to register a JSON retrieved using an HTTP connector as an item in a SharePoint list.

However, the final process of parsing the value retrieved by the HTTP connector into JSON and uploading the parsed item to SharePoint causes an error.

I don't know what to fix, but does anyone know?

 

<Error message>

Failed to execute template action "Apply_to_each": "foreach" expression "@body (" JSON_parse ")? ['body']? ['result']' evaluates to the'Null' type. The result must be a valid array.



yuri_f_0-1606893416776.png

 

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: How to retrieve JSON

    Hi @yuri_f,

     

    The Apply to each action only accept an array, after parse JSON, please put the array part into the input of Apply to each action, for example:

    Screenshot 2020-12-03 161131.jpg

     

    For more information about the Apply to each (For each) action, please refer to this document:

    Schema reference for trigger and action types - Azure Logic Apps | Microsoft Docs

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,631 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,991 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow