web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : +LI9m0BOlB1wSmV9lKfA8c
Power Automate - Building Flows
Unanswered

HTTP Request returning error

Like (0) ShareShare
ReportReport
Posted on 25 May 2023 17:39:05 by 419 Super User 2024 Season 1

I'm attempting to pull data from an API for machine records, the API json file with basic auth and just the url works fine in Postman, but when i try and recreate it as an HTTP action in my Flow it always returns with the error "The specified URL cannot be found." but when copying the url and opening it in another webpage the expected information is displayed. I've tried encoding the URL but that returns the "The provided 'Http' action URI '*sanitized*' is not valid.

 

There is no local path being referenced and the URI is valid. Can anyone please help? Is this a Header issue? the Postman script has no headers.

 

See images below of flow and results (I have confirmed that the username and password are correct.

 

EditScreenHTTP.PNG

RunScreenFailedHTTP.PNG

HTTPURLworking.PNG

I have the same question (0)
  • Scott_Parker Profile Picture
    1,090 on 25 May 2023 at 22:18:29
    Re: HTTP Request returning error

    Are you encoding the uri with the uriComponent function?

  • NickMerrick Profile Picture
    419 Super User 2024 Season 1 on 25 May 2023 at 23:03:10
    Re: HTTP Request returning error

    When i do it returns "The provided 'Http' action URI '*sanitized*' is not valid. The URI must be a well formed absolute URI not referencing local host or UNC path."

     

    for reference the third image is the exact url copy pasted from the flow. So i know the site is online.

  • Scott_Parker Profile Picture
    1,090 on 26 May 2023 at 13:11:43
    Re: HTTP Request returning error

    Yes, sorry, I missed that sentence about you encoding it. Hard to comment on what might be going on because the url completely obfuscated, not that I'm suggesting you do otherwise. I can only say to open the raw inputs after the action runs to confirm that the http request matches what postman is sending. Sorry not more helpful.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 655 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 371 Moderator

#3
chiaraalina Profile Picture

chiaraalina 276

Last 30 days Overall leaderboard
Loading complete