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
prathalye
Advocate I
Advocate I

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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (65,751)