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 / Error Handling in Plug...
Copilot Studio
Unanswered

Error Handling in Plugin Actions

(0) ShareShare
ReportReport
Posted on by 18

Hi all,

I have added plugin actions using custom connectors in Copilot studio. And it works fine for success scenario (200 OK).
But for other error scenario its giving below error 
 
Error --> The connector ‘Process Test’ returned an HTTP error with code 400. 
  Error code: ConnectorRequestFailure. Conversation ID: 3b9cbd3b-11db-4c98-a6f6-c856a470db00. Time (UTC): 12/20/2023 2:19:13 PM.
 
I want to handle the exception/status code and want to give proper message to user in copilot.
 
Scenario: 
1) 200 (OK) - working fine
 
2) 500 (server error) - not working
3) 400 (Bad request) - now working
 
Please help...
 
How can I handle the error in custom connectors/plugin actions?
 
Thanks
I have the same question (0)
  • KJhutty Profile Picture
    4 on at

    Hi there,

    What have you configured as your outputs in the connector editor here?

    KJhutty_0-1703085632997.png

    I havent been able to work with the response in the Copilot chat option but maybe you can try adding additional cases for different responses?

  • jontydadhania Profile Picture
    18 on at

    Thanks @KJhutty for quick response.

     

    I have added the two responses (200 and 400) in custom connectors. but still getting the same error.

     

    jontydadhania_0-1703142572860.png

     

    Please Help...

    What I have to do for handing the error?

     

     

    Thanks

  • KJhutty Profile Picture
    4 on at

    Is it the 500 error that is not working now? You can try adding a case for that too. 

    If that fails, Im free for a short call today if you would like a second eye to help troubleshoot. Im curious about your solution because Im trying to do the same thing.

     

  • Ankitachelani Profile Picture
    10 on at

    Hi,
    Were you able to solve this? I am facing a similar issue.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 177

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 130 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 45 Super User 2026 Season 1

Last 30 days Overall leaderboard