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 / Power Apps / invalid argument type ...
Power Apps
Unanswered

invalid argument type text, expecting a record value instead

(0) ShareShare
ReportReport
Posted on by

I provide below argument to a gallery tab CDF_2606.ListDataModels("testing","hell3").items  where CDF_2606 is my connector name and I can confirm parameters passed are correct and it works successfully in Test tab of connector, however in App building I get the below error. What wrong am i doing?

 

invalid argument type text, expecting a record value instead

Categories:
I have the same question (0)
  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @ankku ,

     

    The output received by your App is getting Text value instead of Record or Table or Collection values. 

    Do check what's the output is needed.

     

    Hope this helps

  • ankku Profile Picture
    on at

    @Ethan_R I checked the Output in Test and its something like this:

    {
     "items": [
     {
     "space": "hell3",
     "externalId": "chaos",
     "version": "1",
     "createdTime": 1686921511098,
     "lastUpdatedTime": 1686921526225,
     "isGlobal": false,
     "name": "chaos",
     "description": "",
     "views": [
     {
     "type": "view",
     "space": "hell3",
     "externalId": "chaos_view",
     "version": "1"
     }
     ]
     }
     ]

    . and this looks like record to me.

     

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @ankku ,

     

    I think this output is JSON formatted and its getting received as text based. 

    You can try Parsing this JSON and getting the objects from it.

     

    Hope this helps 

  • ankku Profile Picture
    on at

    How can I do that? any example you can provide?

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 > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard