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 / Customer Connector Error
Copilot Studio
Suggested Answer

Customer Connector Error

(0) ShareShare
ReportReport
Posted on by

Hi, I have a custom connector for an internal cloud application. This connector uses an API secret and key and is working fine in Power Automate. When I try to link it with the agent as a tool, it is failing with the error.

 

I have tried multiple suggestions from Copilot, but it is not fixing the issue and does not give the right results.

Error Message: Evaluating PowerFx expression resulted in error while invoking the connector : PVA.getAssetDetails failed: PowerFxJsonException Expecting String but received a Record Error Code: ConnectorPowerFxError Conversation Id: 23f2af4b-3ef2-43ca-a9a0-deac7b88ffdb Time (UTC): 2026-05-07T13:05:18.346Z
I have the same question (0)
  • Suggested answer
    Vahid Ghafarpour Profile Picture
    817 on at
    It seems that your connector return object instead of string. Did you try to flatten the response to a string before use it. You can ttrace to find exact parameters that pass.
  • OultonCollegeIT Profile Picture
    21 on at
    use gemini reasoning for debugging, helped a lot to flat and fliter data before returning to copilot studio
  • Prasad-MSFT Profile Picture
    Microsoft Employee on at
    This error means your custom connector’s action is returning a record/object (JSON object), but the agent or PowerFx expression is expecting a string value.
    If the connector returns a record/object, use PowerFx to extract the specific string property you need.
    Example: If the connector returns { "assetName": "Server1", "status": "Active" }, use PVA.getAssetDetails().assetName to get just the string.

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 531

#2
Vish WR Profile Picture

Vish WR 293

#3
Haque Profile Picture

Haque 208

Last 30 days Overall leaderboard