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 / Help with invalid argu...
Power Apps
Answered

Help with invalid argument

(0) ShareShare
ReportReport
Posted on by 39

Hello friends,

 

I’m creating a PowerApps App that allows a user to take a picture document (invoice \ receipt), manually enter in data via text 1 dropdown list and 7 text input fields

 

Blu_0-1627504383579.png

 

 

The goal (in short) is to click a button, on submit, Send the picture and the data as metadata to a SharePoint document.

I have a PA flow created called Ver4. It seems to work fine

Blu_1-1627504383584.png

 

 

 

 I have created a formula that appears to have no errors

Blu_2-1627504383587.png

 

Ver4.Run(FileNameInput .Text & ".jpg",TakenPic,DocTypeDropDown, VendorNameInput,VendorNumberInput,AccountNumberInput,NotesInput,FileNameInput)

 

 But I still receive an error on my button – Invalid argument type, expecting a text value instead

 

Blu_3-1627504383588.png

 

 

Little over my head here, any help is greatly appreciated.

Thanks

Blu

Categories:
I have the same question (0)
  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    You'll experience that kind of error when you try to pass along the name of the control, rather than the value it contains. E.g. VendorNameInput versus VendorNameInput.Text

    You'll need to carefully align the arguments your flow is expecting with the proper data values (not control names).

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard