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 / 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
    162 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

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
sannavajjala87 Profile Picture

sannavajjala87 210 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 153

#3
Haque Profile Picture

Haque 119

Last 30 days Overall leaderboard