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 / How to using http get ...
Power Automate
Unanswered

How to using http get with AuthorizedToken

(0) ShareShare
ReportReport
Posted on by 16
hi. i have API http get with AuthorizedToken i try get data form API but error 
Could not establish trust relationship for the SSL/TLS secure channel
VanNguyen_0-1697038982932.png

 

  • Srini007 Profile Picture
    3,490 Super User 2026 Season 1 on at

    Hi @VanNguyen 

     

    In Custom Header write like below

     

    Authorization: Bearer %AccessToken%

     

    Here %AccessToken% is variable where you have the Token

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

  • VanNguyen Profile Picture
    16 on at

    VanNguyen_0-1697075600454.png

    i tried it but still error

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    If you add "Bearer", use what @Srini007 suggested literally - replace "_AuthorizedToken" with "Authorization" like this:

    Authorization: Bearer %AccessToken%

     

    Also, try experimenting with the different options under the Advanced settings of the Invoke web service action:

    • Try enabling or disabling the "Encode request body" option
    • Try enabling or disabling the "Accept untrusted certificates" option
    • Try enabling or disabling the "Follow redirection" option

    These are the usual culprits for an API call not working in PAD initially.

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

  • VanNguyen Profile Picture
    16 on at

    Thank Mr Agnius i try all 

    • Try enabling or disabling the "Encode request body" option
    • Try enabling or disabling the "Accept untrusted certificates" option
    • Try enabling or disabling the "Follow redirection" option and replace Authorization VanNguyen_2-1697092012916.png

       

      it change error code Failed to invoke web service: Specified value has invalid HTTP Header
      characters.
      Parameter name: name. 
    • i try another API no token, it the same error
    • Do you think it's due to powerautomate desktop? i try cloud flow it work but deskop error
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Have you tried changing the header to what we suggested?

  • Srini007 Profile Picture
    3,490 Super User 2026 Season 1 on at

    Hi @VanNguyen 

     

    From the screenshot you provided the error is that you didn't change the custom Header correctly

    as I mention before can you write only Authorization instead of _AuthorizeToken?

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

     

  • VanNguyen Profile Picture
    16 on at

    VanNguyen_0-1697104926362.png

    @Srini007  here bro

  • VanNguyen Profile Picture
    16 on at

    yes i tried one by one

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 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard