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?
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.
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?
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
Please open a support request
(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.
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.
I confirm this was after a test of my topic.
PVA doesn't have the settings you mention:
If I go on the power platform admin center, however, I get this:
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.
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?
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.
Your YAML works for me.
Can you share what the values are in the variable test pane?
Romain The Low-Code...
23
Pablo Roldan
16
stampcoin
10