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 Automate
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

 

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at

    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

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard