Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
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.

  • adilei Profile Picture
    on at
    Re: Duplicated Http Post Request

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

  • jangelRiveaux Profile Picture
    3 on at
    Re: Duplicated Http Post Request

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

  • adilei Profile Picture
    on at
    Re: Duplicated Http Post Request

    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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Ekta Gupta Profile Picture

Ekta Gupta 4

#2
ricardodesouza Profile Picture

ricardodesouza 2

#2
L-1234567-0 Profile Picture

L-1234567-0 2

Overall leaderboard