Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Output from an HTTP Request in PVA

(0) ShareShare
ReportReport
Posted on by 29

Trying something very basic: "point to microsoft.com, get the output, display the output".

The expected outcome is a stream of HTML in this case, I suppose.

 

I can't seem to get any output from the HTTP Request, the variable is "undefined".

 

How's this supposed to work?

 

StephanPirson_0-1697953018250.png

 

Categories:
  • ucheuzor1 Profile Picture
    17 on at
    Re: Output from an HTTP Request in PVA

    Hi @HenryJammes , 

     

    I was able to find solution to the issue with the query parameter. I don't know if there is need for a new thread though. 

     

    The issue is, if there is a query parameter in your request, you need to set ConsistencyLevel to eventual on the header of the request. It's also a common scenario in Power Automate Http request or when creating custom connector. In Power Automate, the error is descriptive that this is what is missing. 

     

    However, in PVA, the error was not specific. It just returned error 400 which was hard to figure out. Attached is a screenshot of the header.

     

    ucheuzor1_0-1701346041971.png

     

  • HenryJammes Profile Picture
    on at
    Re: Output from an HTTP Request in PVA

    Hi @ucheuzor1  can you start a new thread and share details of what the HTTP request look like today?

    Is the URL dynamic for the query parameters?

  • ucheuzor1 Profile Picture
    17 on at
    Re: Output from an HTTP Request in PVA

    Hi @HenryJammes

     

    I have similar issue. When use the Http request action for the endpoint https://graph.microsoft.com/v1.0/users, I am able to get all the required data. However, if I add a query parameter, for example https://graph.microsoft.com/v1.0/users?$search="displayName:james", no output is returned. I just fails with errors. Same endpoint works in Postman. 

     

    Do you have an idea if I am missing something? 

     

    I also observed that there was no place I can add the query parameter

  • HenryJammes Profile Picture
    on at
    Re: Output from an HTTP Request in PVA

    Please open a support request

  • StephanPirson Profile Picture
    29 on at
    Re: Output from an HTTP Request in PVA

    (I put the environment things above from power center.

     

    If the DLP policies block HTTP requests, then I wouldn't receive them on the other end (at my web server level).

    Also, HTTP requests work from Power Automate, just not from Power Virtual Agent.

  • HenryJammes Profile Picture
    on at
    Re: Output from an HTTP Request in PVA

    Not PVA nor Power Platform admin center (PPAC), you have to go to the Power Apps maker portal (https://make.powerapps.com/) to see the environment location. If you have access to PPAC, you can see the environment region from here as well: https://admin.powerplatform.microsoft.com/environments/

     

    I'm not sure what's wrong on your particular tenant and environment, so it'd be useful if you could open a support request to troubleshoot this further: Get Help + Support in Power Platform - Power Platform | Microsoft Learn

     

    One thing I suspect are DLP policies that may block HTTP requests.

  • StephanPirson Profile Picture
    29 on at
    Re: Output from an HTTP Request in PVA

    I confirm this was after a test of my topic.

     

    PVA doesn't have the settings you mention:

    StephanPirson_0-1698056165194.png

     

    If I go on the power platform admin center, however, I get this:

    StephanPirson_1-1698056368016.png

     

     

     

    PPUX version: 0.0.20231012.1-2310.3-prod
    PPAC version: 1.2023.1012.7
    Location: sfr

     

     

    About the "not sending HTTP requests out", I think it's the opposite, PVA sends the requests out, but doesn't process the returned values.

    If I replace those APIs we discussed here with my own web server, I see requests coming in (they are weirdly formatted, but that's a separate issue), and answers are returned by the web server, but they don't end up in the variable.

  • HenryJammes Profile Picture
    on at
    Re: Output from an HTTP Request in PVA

    Can you confirm this was after a test of your topic?

    It looks like the HTTP request isn't returning anything for you, I'm wondering what would block it.

     

    In PVA, if you go to "Overview" and click on the solution name, this should open the Power Apps maker portal.

    In it, there's an option in the settings to get access to the session details.

    Can you share the values here?

     

    HenryJammes_0-1698055969560.png

     

     

  • StephanPirson Profile Picture
    29 on at
    Re: Output from an HTTP Request in PVA

    my yaml works because it's the same as your yaml.

     

    What I don't get is why it works for you and not for me, it's the same code on the same platform.

     

    StephanPirson_0-1698055563851.png

     

  • HenryJammes Profile Picture
    on at
    Re: Output from an HTTP Request in PVA

    Your YAML works for me.

    Can you share what the values are in the variable test pane?

     

    HenryJammes_0-1698055350538.png

     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 23

#2
Pablo Roldan Profile Picture

Pablo Roldan 16

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard