cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

HTTP Request-Triggered Flow Works until I try to send the data, then I get a BadRequest Error

So this is a weird issue. I have a Flow that is triggered when an HTTP Request is sent from a form on my webpage. It does some data operations  using "Select", "Compose", and "Parse" steps to format the JSON data into workable properties that I can put into something like a Teams or Email message, or, more ideally, pass the data over to the Common Data Service/CRM.

 

However, when I add a step to send the data via message or save it to the Common Data Service, and test the Flow by triggering manually (submitting a form through my webpage), I get a BadRequest Error in the first trigger step (which you can see in the screenshots below).  When I remove the last step, the flow works just fine. Any ideas why this is happening? If I test it by triggering using previous run data, the flow works perfectly. But I will reiterate, when I test it with no send/save block, it works fine when triggered manually.

 

With the final step (see the screenshot below for what is in the step)

image.png 
image.png

 

image.png

 Flow runs completely fine without that final step (literally the only the thing I did was delete the final step)

image.png

 

2 REPLIES 2
Highlighted
Post Prodigy
Post Prodigy

@MStoltzfus - I see that you have response as a parallel action. Did you configure it to run on failure only? It appears to me that you are returning a response and also trying to perform some action at the same time but by adding a delay. Can you try to put Response action after the post message action and see if error goes away?

 

Like and mark this as action if it resolves your issue.

Highlighted

@PrasadAthalye Moving the response does not change the outcome. If there's a send message/make record step, it will always fail. I had moved it to parallel and added a delay to the other leg just to test it, but the issue continued.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (7,731)