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 / Power Apps / Incompatible Type and ...
Power Apps
Answered

Incompatible Type and Invalid Arguments

(0) ShareShare
ReportReport
Posted on by 21

Hello, I am trying to update a SharePoint list when the user selects the 'Submit' button; however, I am getting the below errors.  What am I missing?

Collect('Safety Observation Log',{'Observation Type':'Observation Type Dropdown'.Selected,'Area/Department':'Area/Department Dropdown'.Selected,Category:'Category Dropdown'.Selected,'Sub Category':'Sub Category Dropdown'.Selected,'What Actions/Situations did you observe':'Observation Detail Text Input'.Text,'What did you do or say to encourage safety':'Observation Encouragement Text Input'.Text,'Please note any lessons learned or shared idea':'Lessons Learned Text Input'.Text,Observer:'Observer Text Input'.Text,'Added to Maintenance List':'Maintenance List Dropdown'.Selected,Date:'Observation Date Input'.SelectedDate})

 

Jmis0923_0-1661736025584.png

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Jmis0923 

    Category:'Category Dropdown'.Selected.Value

  • Jmis0923 Profile Picture
    21 on at

    @Drrickryp 

    Thanks; however, this did not work.  It is saying it expecting a text type and I am using a Error type.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Jmis0923 

    What is the column type of the Category field?

  • Jmis0923 Profile Picture
    21 on at

    @Drrickryp 

    Single line of text.

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Jmis0923 

    Put a label on the screen and in the text property: 

    'Category Dropdown'.Selected.

    And see what intellesence suggests for the next value 

    If that doesn't work, post the items property of the category dropdown.

    If you remove the category from the collection, are there still errors?

  • Jmis0923 Profile Picture
    21 on at

    @Drrickryp 

    This might have done it.  The suggested value was 'Result'.

    'Category Dropdown'.Selected.Result.

     

    Thanks so much for your help.

     

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Jmis0923 

    dancing.gif

     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard