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 / Desktop UI Flow - Requ...
Power Automate
Answered

Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

(0) ShareShare
ReportReport
Posted on by 61

Hi Power Automate team,

 

I'm trying out Desktop UI Flows, using a simple flow that takes a parameter, opens notepad and types it in, then saves the file with a random filename.  I'm able to get the UI Flow to work fine in test mode.  When I try to invoke it from an Instant Flow, it fails with the error shown below (full error message below it).  I have a 2 minute video of the process here:  https://youtu.be/Fl3PMKEDEJU

 

Is this post-release preview jitters or something I'm doing wrong?

 

I'm using a default environment in region North America.

 

uiflow.png

 

{
"error": {
"code": "XrmApiRequestFailed",
"message": "Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'.\nCode: 0x8006088a\nInnerError: Type: Microsoft.OData.UriParser.ODataUnrecognizedPathException\nMessage: Resource not found for the segment 'flowsessions'.\nStackTrace: at Microsoft.OData.UriParser.ODataPathParser.CreateDynamicPathSegment(ODataPathSegment previous, String identifier, String parenthesisExpression)\r\n at Microsoft.OData.UriParser.ODataPathParser.CreateFirstSegment(String segmentText)\r\n at Microsoft.OData.UriParser.ODataPathParser.ParsePath(ICollection`1 segments)\r\n at Microsoft.OData.UriParser.ODataPathFactory.BindPath(ICollection`1 segments, ODataUriParserConfiguration configuration)\r\n at Microsoft.OData.UriParser.ODataUriParser.Initialize()\r\n at System.Web.OData.Routing.DefaultODataPathHandler.Parse(String serviceRoot, String odataPath, IServiceProvider requestContainer, Boolean template)\r\n at System.Web.OData.Routing.DefaultODataPathHandler.Parse(String serviceRoot, String odataPath, IServiceProvider requestContainer)\r\n at Microsoft.Crm.Extensibility.ODataV4.Routing.CrmODataPathHandler.Parse(String serviceRoot, String odataPath, IServiceProvider requestContainer)\nInternalException: '."
}
}

I have the same question (0)
  • edim Profile Picture
    23 on at

    I'm getting a the same response with UI Web Flows.

  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @topness,

     

    Please refer to this video, it will help you something during you create UI flow:

    https://www.youtube.com/watch?v=2UgZaSM2tq8

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • topness Profile Picture
    61 on at

    @v-litu-msft thanks so much for the response.  In that video the speaker creates a UI flow while authoring an instant flow.  In this video I follow that process:

    - create an instant flow and a UI flow from an action within that

    - successfully test my UI flow (types text in notepad)

    - when testing from an instant flow, UI flow action fails with the message above.  

     

    I've talked with another person (besides @edim's report above) that is experiencing this.  Can you help us move past it?

     

    https://youtu.be/AJA6VaG_N4M

  • edim Profile Picture
    23 on at

    @v-litu-msft , Thanks for the response.

    I can't seem to get past the flowsessions error. 

    The UI Web Flow works in Selenium with no errors. When added to the UI flow web card, card is able to recognize the parameters. But on testing the API failed error continues to occur.

    Is there a glitch in the system?

  • topness Profile Picture
    61 on at

    @v-litu-msft I also got a comment on my video from another person experiencing this.  Were you able to duplicate this issue?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am also experiencing this issue.  

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am also experiencing this. Does it have to do with the environment or organization policies that I am in?

  • austrisv Profile Picture
    7 on at

    #metoo 😞

    using web ui. flow works like a charm from selenium, but when try to execute/test flow - then this 'flowsessions' error 😞

  • edim Profile Picture
    23 on at

    @v-litu-msft , is there an update on this issue. It appears not to be a localized or individual issue only. My company wants to move over to MS for RPA instead of our current RPA tool, but we can't if this issue is not resolvable. 

    Thank you for the help.

  • jboehm Profile Picture
    8 on at

    I am also having this issue.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 266 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 134 Super User 2026 Season 2

Last 30 days Overall leaderboard