Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

apply to each error 'action failed'

(2) ShareShare
ReportReport
Posted on by
Hello i have been trying to make a flow that runs every 20 minutes to get transaction data from bank but it giving me this error "An action failed. No dependent actions succeeded." from apply each.
 
Here is what i am trying to do I'm new to power automate.
  • Trigger: Recurrence (every 20 minutes).
  • HTTP: Make an HTTP request to get JSON data.
  • Parse JSON: Parse the response from the HTTP request.
  • List rows present in a table: Get existing data from Excel.
  • Apply to each: Loop through JSON data.
    • Output: @{outputs('Parse_JSON')?['transactions']}
    • Condition: Check if Amount is greater than or equal to 0.
      • If yes:
        • Apply to each: Loop through Excel table rows.
          • Output: value (from List rows present in a table).
          • Condition: Check if JSON ID matches any Excel ID.
            • If no: Add a row into the table
 
 
 
My main goal is to recieve bank data to excel without any duplication and only income data. also i'd like o know will it work way i wanted to be?
Hope you will help me. thank you!
  • narayan225 Profile Picture
    2,513 Super User 2025 Season 1 on at
    apply to each error 'action failed'
    The error message says that the record was not found which is why it is returning 404 error.
     
    I suggest you investigate the Get row action and find fi the row actually exists with the matching Record value.
     
    Hope this helps.
    Cheers!
  • Suggested answer
    GA-23070429-0 Profile Picture
    on at
    apply to each error 'action failed'
    hello i have used the get row action but i think i am using it wrong here are all of the error that i am getting 
     
     
     
  • NC Profile Picture
    2 on at
    apply to each error 'action failed'
    The problem is in the condition_1 step of you flow. It says invalidTemplate. Can you expand on whats happening in condition_1?
    My best guess is you are not accessing the excel column value correctly in the for each.
    I always like to use compose to see the data in cases like this. Use a compose to see the data before condition_1 to see if its returning the data in the way you wanted.

    I would also like to add that the second for each can be replaced with the excel action 'Get a row' and with the ID from parsed json as key value, and remove the entire 'list rows from excel' action.
    Another way is to use filter array on the excel table and check its length instead of for each.

  • ManSed Profile Picture
    2 on at
    apply to each error 'action failed'
    As far as I see, you should verify if all conditions are working correctly. To do this, you can disable the second "foreach" loop and add an array or string variable after the first condition. Then, observe the results you obtain. If the results are good, move on to the next set of conditions and repeat the process.

    Once you are confident that the results are accurate, it's important to verify the final step, which involves inserting data into the Excel table.
     
  • narayan225 Profile Picture
    2,513 Super User 2025 Season 1 on at
    apply to each error 'action failed'
    You need to go to the exact iteration that caused the issue and find the error from there.
    You can achieve what you are trying to do but need to check where it is failing.
     
    Go through each step of apply to each and one of the actions should have the error you are looking form.
     
    Hope this helps.
    Cheers!

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492