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 / Issue with "List files...
Power Automate
Unanswered

Issue with "List files in folder" connector under OneDrive for Business

(0) ShareShare
ReportReport
Posted on by 1
Beginning 16th May 2026 (Saturday), I've been encountering an issue with my flow that has been working for months. The "List files in folder" connector seems to return an error due to an unexpected data type in the API response (refer to attached image).
 
The error is as follows:
Flow run failed. Action 'List_files_in_folder' failed: The API 'onedriveforbusiness' returned an invalid response for workflow operation 'List_files_in_folder' of type 'OpenApiConnection'. Error details: 'The API operation 'ListFolderV2' requires the property 'body' to be of type 'Object' but is of type 'Array'.'
 
I have tried adjusting the value of the file identifier parameter:
1. Folder path, selected via the folder icon in the parameter input
2. Inputting the exact unique ID of the folder
3. Trying another folder path selected via the folder icon
 
All attempt above yielded the same error.
 
No changes were made to the flow prior to it hitting this error. The flow has been running smoothly over the past month.
 
Appreciate any help on this!
Screenshot 2026-0...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
I have the same question (0)
  • chiaraalina Profile Picture
    2,052 Super User 2026 Season 1 on at
    It seems many others are having the same issue at the moment with that action:

    I suspect it may currently be a Microsoft side problem. I tested it on my site, and it worked there.
  • SP-18050746-0 Profile Picture
    5 on at
    Having same issue. Please fix.
  • JH-25040614-0 Profile Picture
    2 on at
    Same issue
  • johnjohnPter Profile Picture
    1,950 Season of Giving Solutions 2025 on at
    used the (Find files in folder) action instead and it worked, it has the same output , this will give all the txt files:-

     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard