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 / Copilot Studio / Http Request GET query...
Copilot Studio
Unanswered

Http Request GET query param

(1) ShareShare
ReportReport
Posted on by 2
Hi Experts,
 
In my Topic-HTTP Request,
I need to pass the value which i captured and set in the variable StrAddress to the below API as query param
 
Any thoughts or help, please see the screen shot for clarity
Getting error -
Error Message: HTTP request failed with status code 400 BadRequest. Error Code: HttpRequestFailure Conversation Id: fd7b0201-xxx-a9e2-3d9xx3ac23 Time (UTC): 2024-07-17T15:23:37.944Z
 
 
Categories:
I have the same question (0)
  • Mahesh Chintha Profile Picture
    158 on at
    Use Variable management -> Set a variable value and use 'Formula' to build the URL and then use it as a variable in the HTTP Request 
     
    "https://www2.moxxxxxxxxx.org/snowapi/mymxxxxxxxy.svc/SnowStreet2017?a=" & Topic.StrAddress
  • Anilal Gopinathan Profile Picture
    2 on at
    @mahesh,
     
    The approach started working, but getting error with url encoding, tried the below two options, still throwing error,
     
    generated url is -> ​https://www2.mxxxxxxx.org/snowapi/myxxxxx.svc/SnowStreet2017?a=9604​ Oak Ln—>     -- See the space in the url for the a-value

    Tried these below options, still throwing error,
     
    "https://www2.mxxxxxxx.org/snowapi/myxxxxx.svc/Snxxxxxxx2017?a=" & {encodeUriComponent(Topic.StrAddress)}
    "https://www2.mxxxxxxx.org/snowapi/myxxxxx.svc/Snoxxxxxxx2017?a=" & {=encodeUriComponent(Topic.StrAddress)}

    Error - Error Message: HTTP request failed with status code 400 BadRequest



    Update - fx = "https://www2.moxxxxxx.org/snowapi/myxxxxxxxx.svc/Snxxxxxxx2017?a=" & EncodeUrl(Topic.StrAddress)  -- this worked

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 > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 279 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 200 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 94 Moderator

Last 30 days Overall leaderboard