Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

(4) ShareShare
ReportReport
Posted on by 2,961

Hi Flow Experts,

I have a flow that will be trigger on "Create of New item in SharePoint  List"

Error - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'. Error details: 'The API operation 'GetOnNewItems' is missing required property 'body/value/0/Title'.'

VijayTailor_0-1592814218949.png

 

Please provide your valuable suggestion.


Thanks in advance/

 

 
 
  • Krickner Profile Picture
    81 on at
    Re: Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

    I've had this issue happen multiple times.  Especially since they rolled out the "New Experience."  The only surefire way I've worked around this and similar API issues with SharePoint is by editing the flow in the new experience, deleting either your trigger or Get Items action (not copying), adding a new trigger/Get Items, and saving the flow.

  • ShenolReetz Profile Picture
    2 on at
    Re: Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

    I solved this problem by removing the 'Require that this column contains information' option from the edit column settings.

  • JuanPierreJesus Profile Picture
    2 on at
    Re: Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

    In my case, this error occurs if the list I'm trying to retrieve is over the limit of lookup columns. So, my solution was create a view with only the columns that I needed. That's worked for me!

  • Nelson4 Profile Picture
    2 on at
    Re: Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

    The solution for me was to open the box and create a new connection in Get Items

  • Raviteja1992 Profile Picture
    23 on at
    Re: Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

    Try as mentioned in the attachment.

    Raviteja1992_0-1695960257368.png

    Last 2 years back I faced this challenge, and finally, I found the solution.

  • UnicornP Profile Picture
    9 on at
    Re: Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

    This is the answer for sure. I removed the blank entry and it worked as expected.

  • Sam2089 Profile Picture
    41 on at
    Re: Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

    Which action you had to delete the action? i had the same problem

  • ndelvalle Profile Picture
    4 on at
    Re: Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

    Buenas tardes.

    A mi me daba el error:

    The API 'sharepointonline' returned an invalid response for workflow operation 'Obtener_archivos_(solo_propiedades)' of type 'OpenApiConnection'. Error details: 'The API operation 'GetFileItems' is missing required property 'body/value/0/Referencia'.'

     

    Solución: Borrar o rellenar campos de Referencia que esten vacios. Si el campo Referencia no tiene datos, dara el error arriba indicado. 

  • vinylmatt Profile Picture
    8 on at
    Re: Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

    I was using a scheduled trigger (not a File Creation). But the same solution worked. Removed it and put it back in and it worked again.

  • erosenfeld Profile Picture
    10 on at
    Re: Trying Finding the Root Cause for - The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created' of type 'OpenApiConnection'.

    @mtiscia's insights worked for me. I got the error when the result set for Get Items SharePoint action returned an item with a blank / empty Title field value. I performed the following actions to mitigate the bug in the Get Items action:

    1. Updated the Flow that creates list items to always include some default value for the Title field
    2. Updated the existing list items whose Title field values were blank to the default value in the Flow that creates new list items.

    I would say that this is a workaround rather than a solution. The solution would be for Microsoft to fix the bug in the Get Items SharePoint action to not error out when returning a list item whit an empty Title field value.

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow