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 Automate / Flow expects 1 argumen...
Power Automate
Unanswered

Flow expects 1 argument but shows expecting 0 arguments in powerpps

(0) ShareShare
ReportReport
Posted on by
Hi, I have created a simple flow for OCR image to text analysis (Thanks to this video from Paul - https://www.youtube.com/watch?v=qXSRKfYqYMM). My flow image is attached. My flow is to be triggered by PowerApps and has 1 "Ask in PowerApps". When I run the flow from PowerApps, I see an error of invalid arguments, which says, expected 0, received 1. I tried creating a new flow, closing app, flow tabs but it remains the same. How can this error be resolved.
Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at
    Well, attachments button and insert image option is missing here.
  • v-yamao-msft Profile Picture
    on at

    Hi @Anonymous,

     

    It seems that we are not able to upload image when using Chrome, please try with IE which is working fine.

    According to your description, I have established a flow which is triggered by a PowerApps button. Following by the action Send an email. I select dynamic content “Ask in PowerApps” from the trigger for the To field.

    Screenshot for your reference:

    2.PNG

    Then add the flow on a button on PowerApps, set OnSelect property of the button with the following code:

    'PowerApp->Sendanemail'.Run(TextInput1.Text)

     

    2.PNG

    When I click the button to trigger the flow, it runs successfully and email could be sent to the user I specified in the box.

    3.PNG

    Please take it for a reference and try it on your side.

     

    Best regards,

    Mabel

  • Community Power Platform Member Profile Picture
    on at
    @v-yamao-msft, Thanks for your response ! Your example works perfectly and I have done this many a times in my PowerApps jouney. What I observed is that flows which are dealing with Azure blob, OCR connections are the one where this issue is faced. Such flows are expecting arguments (I even tried 2 arguments in flow to be passed from PowerApps) but powerapps is failing to recognize it. Check my another post - https://powerusers.microsoft.com/t5/Creating-Apps/Powerapps-flow-run-shows-no-parameter-expected/m-p/201220
  • v-yamao-msft Profile Picture
    on at

    Hi @Anonymous,

     

    When adding the flow to a button on PowerApps, does it ask you to specify a parameter for the flow?

    Could you share a screenshot on PowerApps?

     

    Best regards,

    Mabel

  • Community Power Platform Member Profile Picture
    on at

    Please find attached images. One is for test powerapps which has a button and is conneted to a flow which is suppose to expect 2 arguments in powerapps. It shows it does not.

     

    Second is the flow which I am trying to connect to.

     

     

     

     

     

     

     

  • Community Power Platform Member Profile Picture
    on at

    flow-parameter-image-1.pngflow-expecting-2-arguments.png

  • v-yamao-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Thanks for providing the detailed info.

    The issue could be reproduced by me now.

    I will help report it and back to you later.

     

    Best regards,

    Mabel

  • Verified answer
    v-yamao-msft Profile Picture
    on at

    Hi @Anonymous,

     

    I have some updated for you.

    The issue has been fixed now.

    Could you check it on your side?

    Please feel free let me know if you need more help.

     

    Best regards,

    Mabel

     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard