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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / I get this error in Po...
Power Automate
Unanswered

I get this error in Power Automate flow, I can't publish the flow

(0) ShareShare
ReportReport
Posted on by 7

 Flow client error returned with status code "BadRequest" and details "{"error":{"code":"TemplateValidationError","message":"The power flow's logic app flow template was invalid. The template actions 'Append_to_array_variable_1' are nested at level '9' which exceeds the maximum nesting limit of '8'."}}".

Categories:
  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @MJx01 ,

    Flow says that append to array variable can be nested at a maximum of 8 levels.

    You have nested 9 levels, which exceeds the maximum limit.

    You should find a way to reduce the nesting level of Flow and simplify the flow process.

    I find this linked article helpful to you:

    How to solve the nesting limit of '8' error in Power Automate (tomriha.com)

    Best Regards,

    Sunshine Gu

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @MJx01 

    That is by design. Looks like you have a lot of nested condition actions in your current flow setup. The limit for nesting is 8. You can vote for the idea

    Increase the allowed nesting level to be more then 8 · Community (powerautomate.com)

     

    You can solve this by either combining conditions or using expressions instead of condition actions. Or even use child flows to break down the logic.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard