
Hi everyone,
I'm encountering an issue while testing a custom connector in Copilot Studio. The connector is successfully tested in the Custom Connector Test tab, and it returns a valid HTTP 200 response with the expected OData payload. However, when I use this connector as a tool in a Copilot agent topic, I receive the following error:
What I’ve Done So Far:
application/json.$top=5 and selected only a few fields./Connector-GWSample.Run() => $response in the topic and added a Trace($response) step.Despite all this, the connector still fails when used in a topic.
Sample Response Schema Used:
{
"d": {
"results": [
{
"BusinessPartnerID": "0100000000",
"CompanyName": "SAP",
"EmailAddress": "******@sap.com"
}
]
}
}
What else could be causing this ConnectorRequestFailure even though the HTTP status is 200 and the response is valid? Is there a specific format or limitation Copilot Studio expects that I might be missing?
Any help or guidance would be greatly appreciated!
Thanks in advance.