Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Json stopped working for some reason

Posted on by 13
I have had a flow which was working as should be, but after a while I am now having problems, I have a flow in which it takes responses from forms and adds them into the sharepoint list but.. there is also a add for each with the json code which I dont remember how to fix and now I get errors.
I have tried to fiddle with the code but now I dont know how to bring it back to what it was.. this is the state of it now

And this is the state that it was in two days ago, taken from a working submition of the flow:
Im sure its something small and I just cant find it, could someone please help?
 
Categories:
  • Suggested answer
    David_MA Profile Picture
    David_MA 7,582 on at
    Json stopped working for some reason
    In the apply to each action, try wrapping the data being sent to it in an array expression: array(<your_dayta>)
     
    The issue is that one item has been sent to the action (an object) rather than an array (multiple items).

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard