web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Duplicated Http Post R...
Copilot Studio
Unanswered

Duplicated Http Post Request

(0) ShareShare
ReportReport
Posted on by 3

Hello, I'm new to Copilot! Currently, I'm in the process of building a simple bot. It takes messages from users, sends them to an Azure Function via an HTTP POST request, and then forwards the service response back to the client.

However, I've encountered an issue where Copilot seems to be sending the request twice. I've implemented a check in my service to handle duplicate requests, but even when I return a 409 error to Copilot for duplicated requests, it only displays the second request and stops there.

I'm unsure why this behavior is occurring. Could anyone provide guidance on how to troubleshoot and resolve this issue? Below is an image of my Copilot flow for reference.

Screenshot 2024-02-24 at 19.29.37.png
Categories:
I have the same question (0)
  • adilei Profile Picture
    Microsoft Employee on at

    Not sure if it's a product issue or something to do with how your endpoint is designed (or a combination of both?). Can you reproduce with a mock service?

     

    For example, here is a mock endpoint I created: https://app.beeceptor.com/console/mcs-http/todos. Calling this endpoint from an HTTP action in MCS does not result in two calls:

     

    adilei_0-1708860873268.png

    kind: AdaptiveDialog
    beginDialog:
     kind: OnRecognizedIntent
     id: main
     intent:
     triggerQueries:
     - http
    
     actions:
     - kind: HttpRequestAction
     id: AFFTwf
     url: https://mcs-http.free.beeceptor.com/todos
     response: Topic.Var1
     responseSchema:
     kind: Table
     properties:
     completed: Boolean
     id: Number
     title: String
  • jangelRiveaux Profile Picture
    3 on at

    Thanks for the response. Following your sugestion I create a simple example and I think it work fine. 

  • adilei Profile Picture
    Microsoft Employee on at

    So, something in your function's response is the culprit? If it's on a public endpoint, feel free to pm me the details.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 633

#2
Vish WR Profile Picture

Vish WR 301

#3
Haque Profile Picture

Haque 219

Last 30 days Overall leaderboard