Notifications
Announcements
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.
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?
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.
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.
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?
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!!
Hi I am facing this issue after sending api post request here in the response body of api there is only this response
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 255 Super User 2025 Season 2
Romain The Low-Code... 205 Super User 2025 Season 2
S-Venkadesh 101 Moderator