cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Morghan
Helper IV
Helper IV

Unexpected "Cannot find list item" error

Hello,

 

I am building a flow for an easy task and part of that flow is that, if two conditions are met, it will update the item's Status to "Rejected." I am receiving the following error upon testing for the Update Item action:

 

{
"status": 404,
"message": "Could not find list item.\r\nclientRequestId: 4a1bef18-3d9e-4260-a264-cb4a0736947b\r\nserviceRequestId: 4a1bef18-3d9e-4260-a264-cb4a0736947b"
}

 

I verified that the "Update Item" action is referencing the "ID" from the "When an item is created" action, and those ID's match so I am not sure what the problem is here... 

 

when-created.jpg

 

 

 

update-item.jpg

 

This item is most definitely in the list ("Test User 7", ID # 104)

list.jpg

 

I've double verified that I am referencing the correct list and checked all my steps again and cannot find the disconnect.

 

Any help is appreciated!

Thank you,
M

1 ACCEPTED SOLUTION

Accepted Solutions

Hi!

Which permission level do you have assigned in this SP list? Read-only? Edit?

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

14 REPLIES 14
efialttes
Super User III
Super User III

Hi!

Can you share a screenshot from your 'Update item' inputs flow design?

Are you assigning an expression to 'Update item' ID input?

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Hi @efialttes - thank you for the response! I am not entirely sure what you mean though. Is this what you're looking for?

 

Here is a screenshot of the flow in it's entirety:

 

2020-03-26_10-09-15.jpg

 

And here are the details of the Update Item action: 

 

2020-03-26_10-11-30.jpg

 

Thank you,

M

 

Weird...

Where does the 'ID' dynamic content currently assigned as ID input in 'Update item' comes from? Is it the one from your trigger?

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



@efialttes - Yes, it's from the "When an item is created" trigger action: 

 

2020-03-26_10-39-16.jpg

 

 

 

IMG_2958.jpg

 

abm
Super User III
Super User III

Hi @Morghan 

 

Looks like you are using the correct Id mappings but could you check the When an Item created Site Address path is same as Update Site Address. 

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Hi @abm - They are indeed the same addresses. I have copied/pasted from SharePoint to Notepad, blocked out sensitive info but they are identical: 

 

2020-03-26_15-33-21.jpg

abm
Super User III
Super User III

Hi @Morghan 

 

Could you please do a small test for me? Add the update list immediately after the trigger. See what error you are getting? If that works then remove the update action step,  remove and add the old update action step where you were getting the error earlier, add it again and map the id. Please let me know how it goes.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Hi @abm - 

 

I just added an Update Item action directly after the trigger and I am seeing the exact same behavior and error ("Could not find list item."). I verified the following:

 

1.) The ID in the Update Item is the ID of the "When an Item is created"
2.) The URLs in each are identical

 

 

 

abm
Super User III
Super User III

Hi @Morghan 

 

Thats strange. Could do another test for me? Add a delay action step for a minute or so then try it. Same test as you did earlier.

 

1. Trigger

2. Add the delay step

3. Update

 

Let me know how it goes.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
abm
Super User III
Super User III

Hi @Morghan 

 

Sounds a bit silly. Also make sure the listname of update is same as trigger. I am sure it will. Just want to make sure.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Hi!

Which permission level do you have assigned in this SP list? Read-only? Edit?

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

@abm - The delay wouldn't progress at all. I had it set by minute per trigger's ID but I let it try to run for 5m before killing it myself.And yes, I verified that the trigger and update item URLs + list locations are the same.

 

@efialttes - The permissions seem to have been the issue! This test list grants read/edit permissions to the site owners only, which is my mcastorena@xxxxx.com address, but the connection being used for the Update Item was vhub_noreply@xxxxx.com, which did not have any access to this specific list. I updated the connection on the Update Item to use my mcastorena@xxxx.com email address and that seems to have resolved! Very strange and confusing error return from SP though.... They did not make that very intuitive! Thank you all for the help.

 

update-connection.jpg

abm
Super User III
Super User III

Hi @Morghan 

 

Thanks for the update. It would have been nice if the create/update/delete connectors errored in the first place when you created the connection saying that You don't have the permission to update this list.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
efialttes
Super User III
Super User III

Hurray!
Mistery solved!

I agree with @abm, it seems there is something that should be improved on Power Automate/Sharepoint API side... if an account does not have permissions to access a SP list -not even permissions to read, right?-, trigger should not fire
Glad to see we got a happy ending!


Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (29,658)