Skip to main content

Notifications

Community site session details

Community site session details

Session Id : SJzusv1kjgnKYDmtFwVH8r
Power Apps - Building Power Apps
Unanswered

Invalid Argument Type (Error). Expecting a Table Value Instead

Like (0) ShareShare
ReportReport
Posted on 28 Jul 2022 11:31:54 by 16

Hi All,

 

Looking for some advice with this error. I have 2 normal clearcollect statements attached to buttons on different pages within the same app.

 

They both do the same thing E.G

ClearCollect(Invoice, {Unique_ID:Unique_ID.Text)

ClearCollect(Report {Unique_ID:Unique_ID_BR.Text)

 

but one keeps bring back the same error Invalid Argument Type (Error). Expecting a Table Value Instead.

 

This is a recent thing that happens, its been working fine the past few weeks

 

Any ideas on how to fix this?

 

Thanks

Categories:
  • v-qiaqi@microsoft.com Profile Picture
    on 04 Aug 2022 at 06:42:45
    Re: Invalid Argument Type (Error). Expecting a Table Value Instead

    Hi @GlitchedDuck,

    Have you resolved your problem?

    Do you mean that Unique_ID expects table value?

    Could you please show me your app condiguration, what is the Unique_ID?

     

    Actually, if the Unique_ID expects table value, a hard code format could not solve the issue. You should format your value as a table structure.

  • alaabitar Profile Picture
    1,503 Super User 2024 Season 1 on 28 Jul 2022 at 12:33:33
    Re: Invalid Argument Type (Error). Expecting a Table Value Instead

    Allright. So this is because the clearcollect expect a table or an array value so what you can do is the following :

    ClearCollect(Invoice, [{Unique_ID:Unique_ID.Text}])

    ClearCollect(Report [{Unique_ID:Unique_ID_BR.Text}])

     

    Best regards,

    Alaa

  • GlitchedDuck Profile Picture
    16 on 28 Jul 2022 at 12:10:43
    Re: Invalid Argument Type (Error). Expecting a Table Value Instead

    Yeah sorry my code is the same as that, i just missed it out when putting it in here

  • alaabitar Profile Picture
    1,503 Super User 2024 Season 1 on 28 Jul 2022 at 11:52:44
    Re: Invalid Argument Type (Error). Expecting a Table Value Instead

    Hello,

     

    Can you try something like :

    ClearCollect(Invoice, {Unique_ID:Unique_ID.Text})

    ClearCollect(Report {Unique_ID:Unique_ID_BR.Text})

     

    Best regards,

    Alaa

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 54

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 42 Super User 2025 Season 1

Overall leaderboard
Loading started