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 / 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

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 251 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard