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