cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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?
Anonymous
Not applicable

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-... 

Anonymous
Not applicable

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 Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,525)