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 / Facing issue in call R...
Copilot Studio
Unanswered

Facing issue in call REST API through HTTpRequest in Copilot studio

(0) ShareShare
ReportReport
Posted on by 8

I am creating customized copilot bot through copilot studio . I have created a topic to perform some specific task .In that topic i want to call a RESTapi from HTTP request .This API is deployed internal azure domain server and not publicly accessible . Only users with in domain can access this API. I tried to call this API through topic but it is throwing SYSTEMERROR exception .

Can you please help with this issue and guide me that how can i call an private domain api through http request in topics .

Categories:
I have the same question (0)
  • adilei Profile Picture
    Microsoft Employee on at

    If your API is not publicly accessible, HTTP requests from Copilot Studio will not be able to reach it. Consider exposing the API via a secure API gateway or using a custom connector with the on-prem data gateway: On-premises data gateway - Power Automate | Microsoft Learn

  • thetanwar Profile Picture
    8 on at

    Hello Adilei,

    Thank you for your response.

    Unfortunately, we are unable to expose the API as per company policies. Is there an alternative solution available?

    Additionally, is it possible for me to attempt creating a plugin to access the on-premises API? If so, could you please provide a document that explains in detail how to create such a plugin?

    Thank you.

  • adilei Profile Picture
    Microsoft Employee on at

    That's exactly why I suggested using the on prem data GW. It allows to securely connect to "internal" APIs, without having to expose those APIs to the world 

  • thetanwar Profile Picture
    8 on at

    Thank you very much for your guidance. I have successfully utilized the on-premises data gateway, enabling me to create a custom API connector within the Power Automate platform. The connector is functioning flawlessly, returning the desired data, as illustrated in the attached document.

    I have also activated the Copilot plugin operation and incorporated it into the 'Plugin action (preview).' However, I am encountering two issues with this plugin. Firstly, the 'add output' button is disabled, and secondly, every time I invoke this plugin, it throws a 'System Error'


    Can you please help me with this.

    Thanks in advance

    Annotation 2024-01-05 114807.png
    Annotation 2024-01-05 114900.png
    Annotation 2024-01-05 114720.png
  • adilei Profile Picture
    Microsoft Employee on at

    Do you specifically need the connector loaded as a plugin, i.e. do you intend to you dynamic chaining, or would it be acceptable to use "classic" NLU and call the connector from within a flow/topic?

  • thetanwar Profile Picture
    8 on at

    I want load connector as a plugin do achieve dynamic chaining.and want to call the plugin from a topic/flow. I also tried to call connector directly from topic but receive same system error

  • thetanwar Profile Picture
    8 on at

    Hi Adilei,

     

    Is there is any update on this request , Its a bit urgent.

     

    Thanks

  • adilei Profile Picture
    Microsoft Employee on at

    Have you tried raising a case with support? In the meantime you can try embedding your connector inside a flow, and load the flow as a plugin.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
sannavajjala87 Profile Picture

sannavajjala87 206 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 147

#3
Haque Profile Picture

Haque 119

Last 30 days Overall leaderboard