Skip to main content

Notifications

Community site session details

Community site session details

Session Id : mSgJVRer/67F7L7cxJxaHt
Power Automate - Power Automate Desktop
Answered

Initial URL does not get encoded

Like (0) ShareShare
ReportReport
Posted on 17 Sep 2023 14:30:09 by 143

My flow was working without an error before i updated pad to the latest version.

 

I was passing a url in "Launch new chrome" action, like this 

"https://xxxxxx.com/custom/service/webapi/rest.php?input_type=JSON&response_type=JSON&method=login&rest_data={"user_auth":{"user_name":"xxxx","password":"xxxx"}}"

Now, when the chrome window opens up, the url does not have any double quote (") characters and my url is not working. 

 

  • Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on 18 Sep 2023 at 08:35:53
    Re: Initial URL does not get encoded

    They might fix it, if they get people raising bug reports to their support. I generally always use Run application in my flows to launch a browser, because this works better than launching a new browser. The Launch new Chrome action tends to fail sometimes if the extension doesn't load properly. But Run application never fails because of that.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • vkama Profile Picture
    143 on 18 Sep 2023 at 08:33:44
    Re: Initial URL does not get encoded

    I used Run Application and passed the URL with encoded characters and it worked. If i don't encode the characters is not working but anyway, problem is solved. 

     

    Do you think that MS is going to fix that? I'm asking because it worked in previous versions. 

     

    Thanks a lot for your help.

  • Verified answer
    Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on 18 Sep 2023 at 07:30:54
    Re: Initial URL does not get encoded

    Have you tried using Run application to run Chrome and passing the URL as the parameter? You can then use Launch new Chrome afterwards, but make it attach to an already running instance, instead of launching a new one. This way you will get a browser instance and still be able to proceed with further UI actions.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • vkama Profile Picture
    143 on 18 Sep 2023 at 07:27:00
    Re: Initial URL does not get encoded

    Thanks for the answer.

     

    I already tried that but i got the same results. The weird thing is that other characters like ' or space are getting encoded. 

  • Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on 18 Sep 2023 at 06:23:51
    Re: Initial URL does not get encoded

    To encode the double quote symbol, you should replace it with %22

    That's the standard procedure. However, PAD will throw a syntax error at that because it uses % for variable notation. You need to escape it by doing %% instead of %. So, the correct way would be to replace every double quote symbol with %%22

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,342 Most Valuable Professional

Leaderboard
Loading complete