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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Issue with send HTTP R...
Copilot Studio
Unanswered

Issue with send HTTP Request from Microsoft Copilot Studio

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

 

Hi, I have developed a ChatBot using Copilot Studio and while trying to call a ODATA service using 'Send HTTP Request' in advanced options with Header and Body, I am getting 400 error. I provided all the required values in Header and Body and this service is working fine from Postman.

 

Did anyone make HTTP call for the service registered in Microsoft APIM from Microsoft Copilot Studio?

 

 

Error Message: HTTP request failed with status code 400 Bad Request. Error Code: HttpRequestFailure Conversation Id: 68a38f36-1c03-4964-83f3-aa0c388c1913.

 

I am looking for some pointers to resolve this error, appreciate if anyone share their thoughts for this.

I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @rkatakam,

     

    Just to double check. I assume this OData service is available from the internet and not just from your local network? 

     

    Btw, are you calling this service from a call an action cloud flow? If that is not the case have tried that approach as a workaround?

  • rkatakam Profile Picture
    Microsoft Employee on at

    Hi @Expiscornovus 

     

    Thanks for your reply. Yes, l could be able to call an ODATA service available from internet but when I tried to call an ODATA service of SAP from Copilot Studio ChatBot I am getting the above errors. I am not using Power Automate desktop/cloud flows as my requirement is to directly make a HTTP call from ChatBot itself.

  • fhlim Profile Picture
    9 on at

    hi, does your APIM require authentication? if so, you need to include the api key (or whatever authentication mechanism) in the header. Mine worked after that.

  • rkatakam Profile Picture
    Microsoft Employee on at

    Hi @fhlim, Thanks for your response. Yes, my APIM need authentication, and I have maintained them in Header and Body. So, do we need to maintain all of them only in Header? no need to maintain in Body?

  • fhlim Profile Picture
    9 on at

    Hi @rkatakam, in my context i only maintained the authentication key in the header and not in the body. You may want to also check the string that is being sent to http request in Copilot Studio and cross check against Postman. This helped me get the call correctly formatted for Copilot Studio. All ze best!!

  • nileshthonte Profile Picture
    2 on at

    Hi I am facing this issue after sending api post request here in the response body of api there is only this response 

    {
        "Message": "Ok"
    } but i am gettiing this error on studio copilot "Error Message: HTTP action with id ‘sIPbC6’ got an invalid response body back from the endpoint Error Code: HttpRequestInvalidResponseBody Conversation Id: c1f5487e-9826-468c-9abf-f183db5874ba Time (UTC): 2024-05-01T11:18:45.383Z" guide me to resolve this issue 
  • Anilal Profile Picture
    25 on at
    hi Team,

    Did we find the root cause of this issue?

    We are having this issue intermittendly and till now could now identify the root cause.

    Its blocking our development. kindly help,
     
    Anilal

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard