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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTTP action sanitizing...
Power Automate
Unanswered

HTTP action sanitizing token

(0) ShareShare
ReportReport
Posted on by 51

Hi,

I checked other posts about this and so far, no luck.  I am hitting a proprietary API (built here by our devs and used in many applications), first to authenticate and retrieve a token and then to hit another endpoint (Get Files).    When I attempt to use that token i have successfully retrieved,  i am getting the below response during the Get Files phase. 

 

"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."

 

 

I am successfully retrieving a token (validated the token itself inside the swagger docs we have for the API) and it is valid.  No whitespace, no extra characters, etc. 

I have tried setting it as a variable (both initializing it and then setting as well as compose) and neither seem to work.

 

aabbondanza_0-1685740573702.png

 

aabbondanza_1-1685740602921.png

aabbondanza_2-1685740645845.png

 

Any ideas?  THanks

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @aabbondanza 

     

    Please see this thread.

     

    Solved: Re: HTTP request working in Postman, but not in Po... - Power Platform Community (microsoft.com)

     

    Thanks

  • aabbondanza Profile Picture
    51 on at

    @abm I did check with our system administrator and this is available outside of our environment (we had to make the same changes to allow our dev API to be discoverable and that worked fine in dev). Do you think it could still be a system set-up/accessibility issue?

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @aabbondanza 

     

    Check your token you passing the right way or not? Remove that step and add it again similar like in DEV. Let me know the results.

     

    Thanks

  • aabbondanza Profile Picture
    51 on at

    @abm HI there,  I deleted the step and readded it with the same result.  I am still getting a valid token (verified against swagger docs and postman), but PA still sanitizing the authorization on the HTTP-Get Files request later in the flow.  I had seen this video for a custom connector (https://www.youtube.com/watch?v=gxLEoX8d388), is that a viable option?  Would take some rework?

     

    aabbondanza_1-1686235697981.png

     

    aabbondanza_0-1686235604949.png

     

  • aabbondanza Profile Picture
    51 on at

    @abm Any other advice?  Thank you

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @aabbondanza 

     

    I could offer a screenshare to look this issue. If thats ok then send me an email.

     

    Thanks

  • aabbondanza Profile Picture
    51 on at
    That would be great! aabbondanza@singlesourceproperty.com
  • Verified answer
    aabbondanza Profile Picture
    51 on at

    Hi there, magically, it just started working today (at least the token part of the flow). I am no longer getting the sanitizing error.  I did nothing to fix this (in fact i was on vacation the last 2 weeks so the flow sat there the entire time).  So maybe it was just a bug?  Anyway, closing this out.  Thanks for your help

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard