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 / When a file is created...
Power Automate
Unanswered

When a file is created (properties only) no longer working

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

A flow I created no longer works at the very start (trigger) - When a file is created (properties only) 

 

I receive this error: 

The API 'sharepointonline' returned an invalid response for workflow operation 'When_a_file_is_created_(properties_only)' of type 'OpenApiConnection'. Error details: 'The API operation 'GetOnNewFileItems' is missing required property 'body/value/0/DocType'.'

 

I can resubmit previous flows, but when I add a new file I receive the error above. (I have recreated flow - always from blank - I'm not using a template and get the same error.

 

No idea what has changed. What should I look at?

 

Any help is appreciated

 

Fitz

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @Anonymous 

     

    That's either a bug or an issue with the connection. It's too strange of an error message to be something wrong.

     

    Have you checked on Data > Connections if the connection is OK? Can you create a new one and then use it in the trigger to see if it works?

     

    This often happens when some changes in the tenant's security invalidate the connection silently, and then you get strange errors like these.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    @Anonymous I have seen this problem.

     

    I had to delete the initial trigger - When a file is created (properties only) and then recreated- And  it worked.

     

    I then had to update all the variable in the rest of the Power Automate Solution. Which was a pain 😣

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • MarkRahn Profile Picture
    1,351 Super User 2026 Season 1 on at

    In the List/Library Settings, the root cause of the error "missing required property" may be hidden if "Allow management of content types?" is set to Yes in Advanced Settings.


    Go to Advanced Settings and change "Allow management of content types?" to No. Look at your list of Columns. Look for any field that is marked Required. Regardless of how you have set up for your Content Types for your list, Power Automate will be looking for the Required fields at this level. For any field that you do not want to be required, edit the field, and set "Require that this column contains information" to "No". (You can still set this column to be Required in the Content Type, but Power Automate is checking at this level.) After clearing the Required fields, go back to "Advanced settings" and set "Allow management of content types?" back to "Yes".


    You can set the Required fields in your Content Types now and it will not affect your Flows.


    In troubleshooting this I have found that you still may not be done. You need to open the Power Automate Flow and re-save it. This will ensure that the Flow has picked up which fields are required. If you still find that the Flow is not running because it thinks a field is Required, you may need to re-select the list in the Trigger and re-save the Flow.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 822

#3
Haque Profile Picture

Haque 482

Last 30 days Overall leaderboard