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 Automate / Error On MS Forms Flow...
Power Automate
Unanswered

Error On MS Forms Flow - Template language function 'strongEquals' expects parameters of same type, but found 'String,Integer' distinct types.'

(0) ShareShare
ReportReport
Posted on by 4

We have a form that has one question which allows agents to choose between multiple sign size options (4x8, 4x4, 2x3, and Banner).

However, when I try to use this value for a Switch statement (performing different actions based on the value of the Sign Size question), I get the error linked in the Subject of this post:

LandmarkCR7_0-1699363474492.png

This originally made sense: the case statement is kind of dumb, so it can't deal with mixing numbers and letters. I then changed the MS Form question so that it used only letters (supposedly only string content, not 'String,Integer'), e.g. 'Four by Four', 'Four by Eight', etc. This gave the same error.

I then decided to just cut straight to the root and I change the question to use just index numbers (not even indicating the current size).

LandmarkCR7_1-1699363661922.png

I then deleted my whole switch statement and re added it, making sure to make it switch on the correct value.

However, I'm still receiving the same error, though there is NO string data in the form question.

Do y'all have any ideas?

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Show me what actually is output from the ms form connectors/action in power automate so that we can understand what exactly was the issue 🙂

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • LandmarkCR7 Profile Picture
    4 on at
    Here are the JSON headers from the form output.
    I am trying to switch on the 'Sign One Sign Size' field:
     
    {
        "statusCode": 200,
        "headers": {
            "Transfer-Encoding": "chunked",
            "Vary": "Accept-Encoding",
            "Strict-Transport-Security": "max-age=2592000; includeSubDomains",
            "X-RoutingOfficeCluster": "eus2-101.forms.office.com",
            "X-RoutingOfficeFE": "FormsSingleBox_IN_4",
            "X-RoutingOfficeVersion": "16.0.17030.42058",
            "X-RoutingSessionId": "30558781-573f-46c1-9035-a1cab8ca116b",
            "X-RoutingCorrelationId": "33563906-cda4-494c-983c-fa13b41fc699",
            "X-CorrelationId": "33563906-cda4-494c-983c-fa13b41fc699",
            "X-OfficeCluster": "eus2-101.forms.office.com",
            "X-OfficeFE": "FormsSingleBox_IN_6",
            "X-OfficeVersion": "16.0.17030.42058",
            "X-UserSessionId": "30558781-573f-46c1-9035-a1cab8ca116b",
            "X-Robots-Tag": "noindex,nofollow",
            "OData-Version": "4.0",
            "X-Cache": "CONFIG_NOCACHE",
            "X-MSEdge-Ref": "Ref A: F2422BDDE2234768BB3448CABCBACADE Ref B: BL2EDGE2708 Ref C: 2023-11-07T13:33:53Z",
            "Timing-Allow-Origin": "*",
            "x-ms-apihub-cached-response": "false",
            "x-ms-apihub-obo": "false",
            "Date": "Tue, 07 Nov 2023 13:33:52 GMT",
            "Content-Type": "application/json"
        },
        "body": {
            "responder": "InciteAutomation@landmarkcr.com",
            "submitDate": "11/7/2023 1:15:57 PM",
            "ra22098c07125478b90e54828d525f245": "asd",
            "rba8df538a38140c2bcbc56e349f23679": "asdf",
            "rdaab9b4d30fa44518cc7826212967827": "",
            "rf1b9c7516b9747a7ae96c52086067a7e": "",
            "r0bc95d4b19d64c93ae748640d6a5bb2a": "asdf",
            "r0e9613c9651e4c83bdac489a75ba9a96": "asdf",
            "ra22ae17a5dfb40b38d2f6bed5f786abe": "sadf",
            "rb4767b9746404d2ab76b1c9d4a1cec91": "",
            "rc9fd6b13756a4cdcb94f32d24d01deee": "NEW Sign",
            "r1980697e750e46b184f36b372aa89be0": "asdf",
            "rb47bbf62734b44db9a2c9bda6ca43e9b": "",
            "r0589d8cff9e841d4b47098fae3848a7a": "",
            "rf7f055a2b69a42b0ada5787a1f6c8b45": "",
            "r17db19b89a764002b134ec5814e8aaba": "",
            "r8be0183a14554a4a80486b70845f3fcf": "",
            "re11373c7fc054467a004800c1553e0dc": "1",
            "r14416e1248bd437584be1a56251d3d65": "Stand",
            "r4658263311ec4787b1a93dac76a79161": "",
            "r45031f02ab90477cb85e3844dc66b5c0": "[\"Bo Mangam\"]",
            "r7c94677e93c24215aa447e87f9ced2c3": "Double Facing",
            "r5a39c468f7b844f6ab9faa7a8757b14e": "Adam Boussatta",
            "rcbf745f0b39d42d7b5b4af832f8d3691": "1",
            "r72c9fc04c58a480b8c396e1da408bdf3": "Office Space",
            "r9d2e4033ae3642db9297ae449e1ef232": "",
            "rbe56d0f908e2404e82d7144d9bc28e17": "",
            "r0deb1bdeef094ed584086001d68239e7": "",
            "ra7b39cdeea2b41498440143ff2c0ad2c": "",
            "r07ac30f1eb914c2aa9ebeced6dff7da5": "",
            "r945b0336a49a458d872e5d2c444629c1": "",
            "rccc06b001e16439db1355730801ea633": "",
            "r00e26248629f47d48d36df3608d80d5b": "",
            "rf7912b6b634049edb5a2ab91bcccfb58": "",
            "r82ca543e74914cab9779f34a94b3fe30": "",
            "r4dc563dbc81a4ac0985dbe1292743c4a": "",
            "rec0150fa23a44d29938fe7c1c5705079": "",
            "r99803e63dd304107bbb56a19e9fb73b0": "",
            "r4aac1b80d4fe42da937a215f88d7e963": "",
            "r9bb94215742649938f8be0e6e00c7e20": "",
            "r8e531ec753924e89b44f09a7eae4f29c": "",
            "r920df6d313164bb894315241344653d7": "",
            "r80d1e7dacbdd4b72ba5595c2f58c65c1": "",
            "ra1cdcc1cd7b4460e9d66aae137065ee6": "",
            "rcdad0122411c4a5abee66bdf261cbdec": "",
            "r0e7a9435d57c4b779c803df964355804": "",
            "reaf80f4772694667b4a0e9f20095efd8": "",
            "re077b409fc0c4b9084cd71177f898474": "",
            "r0e0f5e6da54844bcb98d094e7f25d99f": "",
            "r3142f45041e7426fbcdf9156a9fe09d8": "",
            "r7b9ba08f2c2b46a9ad0c29baac231c45": "",
            "r05b794adc6884a1dbc0c50889e21d270": "",
            "ra0a7264deb07459b9b32d377f435eef4": "",
            "r27ea5095c6d94e25be6c1d0375395229": "",
            "r008eb5ff94bc44cfb930838bc49796af": "",
            "r2f2927c607c4443cbb038e9e2ba91350": "",
            "r951fe83aa1e145b183f0f6709100329a": "",
            "r7198893bf1594ac2a69752090c44ad66": "",
            "r0e630f08a26d4c5bb282228b2c342981": "",
            "rf9c2615cd8654f4793c502b7039a0444": ""
        }
    }
    LandmarkCR7_0-1699372858968.png

    This is the property that is being tested by the first Switch (this switch works fine): @{outputs('Get_response_details')?['body/re11373c7fc054467a004800c1553e0dc']}

     

    This is the property that is not being seen properly by the Switch nested within Case 1: @{outputs('Get_response_details')?['body/rcbf745f0b39d42d7b5b4af832f8d3691']}

    Thank you!

  • LandmarkCR7 Profile Picture
    4 on at

    It looks like this is specifically a problem with nested switches. If you nest switch statements, the second one keeps giving this same error.

    I tried switching the order of my switch statements and it's now accepting input for the value that it didn't like before and rejecting input for the switch that it accepted previously.

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard