Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
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:
  • adilei Profile Picture
    on at
    Re: Facing issue in call REST API through HTTpRequest in Copilot studio

    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.

  • thetanwar Profile Picture
    8 on at
    Re: Facing issue in call REST API through HTTpRequest in Copilot studio

    Hi Adilei,

     

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

     

    Thanks

  • thetanwar Profile Picture
    8 on at
    Re: Facing issue in call REST API through HTTpRequest in Copilot studio

    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

  • adilei Profile Picture
    on at
    Re: Facing issue in call REST API through HTTpRequest in Copilot studio

    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
    Re: Facing issue in call REST API through HTTpRequest in Copilot studio

    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

  • adilei Profile Picture
    on at
    Re: Facing issue in call REST API through HTTpRequest in Copilot studio

    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
    Re: Facing issue in call REST API through HTTpRequest in Copilot studio

    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
    on at
    Re: Facing issue in call REST API through HTTpRequest in Copilot studio

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

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
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard