I have a pretty simple workflow that is just trying to get an item after it is created or modified. The trigger works fine, when an item is created or modified in the list, but when the flow executes Get-Item, I receive the following error:
Solved! Go to Solution.
Try deleting the 'Get item' action in Power Automate, re-add the action and re-configure.
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!
I found the solution! This happens because there is an item in the list that has the title blank when this field is required! Review the items in the list and fill that title field that may have another label but originally the field was called title. After that rerun the flow and this error won’t occur again! It’s not related to the msflow but is related to the full filing required fields in the sharepoint list.
let me know if worked out for you.
Try deleting the 'Get item' action in Power Automate, re-add the action and re-configure.
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!
@AdamD Did you managed to make it work? If yes how?
@CFernandes I tried the steps you mentioned. but didn't work for me.
@gaurravs How many items for you have in the list? Do you have more than 5000 items in the list? You might want to add a filter query and try if it helps.
I haven't figured this one out yet. I am beginning to think that those fields "body" and "title" are required for this to work. Those are not fields that I require in this particular list and are indeed blank when new items are created, but I don't understand why flow would not be able to be OK with them being null if that's not a requirement in the list. I'll be doing some testing this week to see if I can get it to work if those fields have some nonsense injected in them.
Number of items in the list right now is less than ten, so I'm not hitting any limits.
There must have been a service disruption or something when I was first trying to get this Flow to work. I completely rebuilt the flow today (a process I repeated five times before on the day I posted this), and now it's able to get the item. The Body/Subject columns didn't require content as I was starting to think.
The only thing I can advise people with the same problem is that @CFernandes 's advice might not work the specific day that you're having the issue (if it's related to some O365/Tenant anomaly), so try it again on a different day.
I found the solution! This happens because there is an item in the list that has the title blank when this field is required! Review the items in the list and fill that title field that may have another label but originally the field was called title. After that rerun the flow and this error won’t occur again! It’s not related to the msflow but is related to the full filing required fields in the sharepoint list.
let me know if worked out for you.
That is such a strange issue. But what's weird is that I can get it to work in another Flow. If I use get items in a new flow, it works. But in the one I have currently, it doesn't. And the strange thing is it stopped working overnight when nothing was changed. The get items simply stopped working.
Worked for me, thanks
I had a similar issue
My flow was working, then I changed a column type from NUMBER to TEXT.
This broke the flow with an error telling me the expected data type was INTEGER NOT STRING. This is a bug because the data connection is managed by PP not by me, so should have auto updated. Deleting the step and re-adding it did not work until I did this
1. Delete the erroring step
2. Save the flow
3. Re-add the erroring step
4. Save the flow
5. Check any dynamic data from the erroring step used later in the flow.
Your error may have been caused by an update to PP changing the data type definitions
This is it!
Thank you so much!
I spent quite a bit of time tracking this issue down. 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/or Action) and re-save the Flow.
Your comment should be marked as a solution. This is exactly what was causing my issue as well. I added
Title ne null to my odata filter and the thing started working!
That saved the day. Any mandatory column that is not filled will cause the error. Thanks!
Some required columns are blank, add some data to them and wala!!
If one is creating a flow to locate list items where the column is blank to notify the user they left it blank, how does filling in the column help that? If I find a record missing the required column i want to send a message to them in ms teams
User | Count |
---|---|
16 | |
16 | |
14 | |
9 | |
8 |
User | Count |
---|---|
31 | |
28 | |
24 | |
23 | |
13 |