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 Pages / TriggerInputSchemaMism...
Power Pages
Suggested Answer

TriggerInputSchemaMismatch

(0) ShareShare
ReportReport
Posted on by 114
Hello i have a flow in power automate where i have 3 inputs , (2 texts and 1 file ) , in the powerapps i try to execute the flow but i got error;


this is my code :
ForAll(
    DataCardValue30_1.Attachments,
    xxxxxxx.Run(
        JSON(
            {
                Input: TextInputCanvas5.Text,  // First text input
                Input1: DataCardValue30.Text,   // Second text input
                FileContent: {
                    name: ThisRecord.Name,       // File name
                    contentBytes: ThisRecord.Value // File content in bytes
                }
            },
            JSONFormat.IncludeBinaryData // Ensures binary data is included
        )
    )
)

Please help me!
Categories:
I have the same question (0)
  • Suggested answer
    Inogic Profile Picture
    1,135 Moderator on at
    Hi,
     
    As per your description, your flow has 3 inputs (2 text inputs and 1 file), and when calling it from Power Apps, you receive this error:
    TriggerInputSchemaMismatch
    Required properties are missing from object: text_1

     
    Why This Is Happening
    This error occurs because the flow trigger expects separate parameters, but you are passing a single JSON object instead.

    When you use the Power Apps (V2) trigger in Power Automate, each input becomes a required parameter (for example: text, text_1, file, etc.).
    However, your code is wrapping everything inside: JSON({...})
    So the flow is receiving one string parameter, not the three expected inputs — which causes the schema mismatch.
    Correct Approach
    You should pass parameters separately, not as a JSON object.
    ForAll(
    DataCardValue30_1.Attachments,
    xxxxxxx.Run(
    TextInputCanvas5.Text,
    DataCardValue30.Text,
    {
    name: ThisRecord.Name,
    contentBytes: ThisRecord.Value
    }
    )
    )

    Notes
    • Do NOT wrap parameters inside JSON()
    • The order of parameters must match the order in the flow trigger
    • The file parameter must be passed as an object with:
    • name
    • contentBytes
     
    Hope this helps.
     
    Thanks!
    Inogic

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!

Leaderboard > Power Pages

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 45

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 14 Most Valuable Professional

#3
DP_Prabh Profile Picture

DP_Prabh 13

Last 30 days Overall leaderboard