cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AParker
Frequent Visitor

When an HTTP request is received - exporting data breaks trigger

Hi all - 

I'm writing a flow to use with a slash command on slack based on the "when an http request is received". I'd like it to do two things - create a calendar event and post a message back to slack.

 

Parsing out the variables I'm looking for and posting back to slack works absolutely fine.

 

The problem is when I add a step to create a calendar event, it throws the error that there's an issue with my flow's trigger. The error message is just BadRequest.

 

What am I missing here?

Troubleshooting steps I've tried:
I've added a 1 minute delay to the flow (without the event creation step) to see if it was a timeout issue. Ran fine.

I've replaced the calendar event step with pretty much every data export-ish step I could think of - filling an excel sheet, sending an email, posting a slack message. All failed.

I removed all variables from the event creation and attempted with just hardcoded values. Failed.

I've put the event creation step at the end of the flow, after the http post step back to slack. Failed.

I've put the event creation step in a parallel branch. Failed

4 REPLIES 4
Anonymous
Not applicable

Can you please add your flow picture?

Sorry for the delay here!

screencapture-us-flow-microsoft-manage-environments-Default-cadc2f90-acb7-4334-88f4-db7b2871fc0e-flows-c1a0a2ed-2f28-4c05-9426-d0a89eac5f08-2020-09-18-15_54_50.png

 

Did you ever solve your problem?

 

This thread suggests a work round of posting a second HTTP trigger from the first having mapped the request's parameters into a JSON body (yuk!).

 

https://powerusers.microsoft.com/t5/Building-Flows/BadRequest-Error-for-quot-When-a-HTTP-request-is-... 

Thanks for this suggestion! I'd backburnered it but will give this a shot. I'm new to using http so was wondering if all "export" had to be done using the http action, especially since posting back to slack using the http action works but trying to do it with the slack action does not. I'm just not entirely sure how that would work for outlook. From my understanding of how flow is supposed to work, I'm not sure why that would be the case, though, and I'm assuming this is an issue with MS Flow.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,085)