Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Error Handling
Suggested answer

Where can I change "String" to "Array"

(1) ShareShare
ReportReport
Posted on by 6
Hey Guys,
I`m new to Power Automate and want to get the Data from Microsoft Planner to a JSON File.
I've used a YT Video but it doesn`t work because of a failure in the type of the data.

Thats the error: The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@items('For_each_Task')?['dueDateTime']' is of type 'String'. The result must be a valid array.

In the first steps of my flow I defined three variables and all in the Type of "Array" and so I don't know how to fix it.

Would be great, if somebody could help me.

Best Regards
Tobi
  • Suggested answer
    Michael E. Gernaey Profile Picture
    42,080 Super User 2025 Season 1 on at
    Where can I change "String" to "Array"
    I answered this on your other thread, please do not post it all over, one post is enough for us to see and answer on

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 Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Error Handling

#1
stampcoin Profile Picture

stampcoin 54

#2
DS-11051211-0 Profile Picture

DS-11051211-0 20

#3
HumanOnly Profile Picture

HumanOnly 6

Overall leaderboard

Featured topics