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 / Strange Data Type Mism...
Copilot Studio
Suggested Answer

Strange Data Type Mismatch Error when calling Power Automate cloud flow from Copilot Studio Agent

(0) ShareShare
ReportReport
Posted on by 10
Hi there,
 
I'm calling a cloud flow called ReadCustomerList from a Copilot Studio agent.  The cloud flow works great and is triggered as a standard API.  I select the flow in Copilot Studio, it gives me the right inputs and outputs (see below):
 
The "List" variable which is just a JSON blob gets returned from the flow.  When I run, everything seems to work fine but then I get the following error message:
 
Error Message: The parameter with name 'Messages' on flow 'ReadCustomerList' ('35f30234-7933-ed11-9db1-000d3a381ab5') evaluated to type 'TableDataType' , expected type 'TableDataType' Error Code: FlowActionBadRequest Conversation Id: a9294bf3-bad5-419b-a833-c8560382f80d Time (UTC): 2026-02-02T21:44:48.724Z
 
It's strange because it says it's expecting TableDataType and not getting a TableDataType.  
 
I'm wondering why Copilot isn't picking this up as a table?  Do I need to do some sort of formatting or parsing?
 
This is the JSON that gets returned:
{
"List": [
{
"Customer": "1992",
"Country": "GB",
"Name": "IDES UK",
"City": "London",
"PostalCode": "L3B 6H7",
"Street": "",
"Region": "GM"
},
{
"Customer": "3500",
"Country": "GB",
"Name": "Hever Industrial UK",
"City": "High Wycombe",
"PostalCode": "HP12 3TL",
"Street": "",
"Region": "HA"
},
{
"Customer": "301417",
"Country": "GB",
"Name": "UK Systems",
"City": "",
"PostalCode": "",
"Street": "",
"Region": ""
}
],
"Messages": [
{
"Message": "3 customer(s) found based on your search criteria."
}
]
}
I have the same question (0)
  • Suggested answer
    sandeep_angara Profile Picture
    430 Moderator on at
    The total JSON is enclosed in { } so it treats it as a record. Try extracting List [] or Messages [] from this JSON. Those are the arrays (collection of records) which are compatible with Table data type.
     
  • ChrisProcessAI Profile Picture
    10 on at
    hi @sandeep_angara thanks for this - how do I extract from the JSON?  Which operation do I use in the cloud flow?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard