Skip to main content
Community site session details

Community site session details

Session Id : O6tdoVAlgtbuxTTsbXw55X
Power Automate - Building Flows
Suggested answer

"message": "List not found\r\nclientRequestId:

Like (0) ShareShare
ReportReport
Posted on 21 Mar 2025 13:57:25 by 61
I am gettin the error:
 
{
  "status": 404,
  "message": "List not found\r\nclientRequestId: ......
 
 
It is from a flow that was working perfectly fine a few weeks ago and has not been edited since.
The flow is triggered from a document in sharepoint, meaning the file exists 100%, so does the site and the library. The error cannot be there.
Has anybody experience this error recently? Is something that has changed in Microsoft? And how can it be fixed? thanks.
 
 
  • Suggested answer
    Qawwam Profile Picture
    27 on 25 Mar 2025 at 19:15:43
    "message": "List not found\r\nclientRequestId:
    Hey @Elia , in your initialize variable action for "docLibraryName" , use this expression.
     
    split(split(triggerBody()?['entity']?['itemUrl'], 'ListId=%7B')[1],'%7D&')[0]
    I created a small flow for your scenario and it worked well.
     
    Result:
     
    P.S : Please Accept my answer if it helps.
  • abm abm Profile Picture
    32,506 Most Valuable Professional on 25 Mar 2025 at 15:34:24
    "message": "List not found\r\nclientRequestId:
    Hi
     
    Could you show me a screenshot of the flow run history which ran successfully for multiple document libraries by the same flow. So when we create when a file is selected it only allows to select the library which you want. So how come it can work with multiple. Show me the run history please.
     
    Thanks
  • Elia Profile Picture
    61 on 25 Mar 2025 at 13:02:12
    "message": "List not found\r\nclientRequestId:
    @abm abm, actually you can :) The flow of my question shows it. You can trigger it from different libraries and different sites
  • Suggested answer
    abm abm Profile Picture
    32,506 Most Valuable Professional on 25 Mar 2025 at 12:23:13
    "message": "List not found\r\nclientRequestId:
    Hi
     
    For a select file trigger it always runs form one library only. That means if you want the selected file flow to run in each libraries then you need to create multiple flows.
     
    Thanks
  • Elia Profile Picture
    61 on 25 Mar 2025 at 12:00:18
    "message": "List not found\r\nclientRequestId:
    Hi @Qawwam
    Thanks for your answer. The thing is that this flow runs from different sites and libraries, therefore the variable needs to be dynamic. Cannot get it fixed to the library GUID because it changes depending on where the flow is triggered from
  • Suggested answer
    Qawwam Profile Picture
    27 on 25 Mar 2025 at 11:15:09
    "message": "List not found\r\nclientRequestId:
    Hi ,
    "Get File Properties" expects Library GUID in the "Library Name" and not a literal library name. I assume you might be using Dynamic content (variable) in your action and not selecting the library from available drop down choices. So instead of setting that variable to "Documents" , set it to Library GUID.
     
    Here is the code view that suggests you must set a guid in your library name variable.
     
     
     
    You can grab the Library GUID by going to library settings in you sharepoint as shown below. Its in the end of the URL.
     
    Please accept my Answer if it helps.
  • Elia Profile Picture
    61 on 25 Mar 2025 at 10:45:29
    "message": "List not found\r\nclientRequestId:
    To add some additional details. A colleague run an API request and we can confirm the Library name is correct. "Documents"
    We suspected it could be something due to different language being used in sharepoint, as some of the users are Danish and I can see the path is referencing the danish namee of Documents = "Delte dokumenter". However, that doesnt seem to be issue after all...

     

    We have tested it now in another site, and it works for some reason. 
    However the reason why it does work in aother site and not in this one, which is supposed to be the same as other sites, is still a mistery.
  • Elia Profile Picture
    61 on 25 Mar 2025 at 09:31:35
    "message": "List not found\r\nclientRequestId:
    thanks for your quick response.
    This flow is meant to be triggered from many Libraries and different sites.
    It fails from different files, yes. Library permissions should not have changed, and in any case, the flow can be triggered from different sites and libraries, anding in the same error.
    The values input look alright, meaning the information is properly gathered in the steps of the flow. It is a mistery why the output fails, when input looks alright.
  • abm abm Profile Picture
    32,506 Most Valuable Professional on 21 Mar 2025 at 14:58:46
    "message": "List not found\r\nclientRequestId:
    Hi
     
    Is this failing for all the records when you select different files? Did anyone changed the SP doc library permissions?
     
    Thanks

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete