web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : PA2HHA0EN9RaVWicE0ZvLv
Power Automate - General Discussion
Unanswered

Survey123 Power Automate Trigger Issues

Like (0) ShareShare
ReportReport
Posted on 23 Nov 2021 19:02:15 by 25

I've been using Automate for a handful of surveys my organization uses, last week I went to create a webhook for a new survey that follows the same basic structure as previous ones. 

 

First issue I had was it wouldn't display any dynamic content, I fixed this by adding labels to every group/repeat, a bit annoying and cluttered but hey, it worked. I also want to point out I have webhooks/surveys that currently work and would allow me to work without this being the case.

 

This second issue I'm struggling with more. I get this error:

 

ResponseSwaggerSchemaValidationFailure. The API 'survey123' returned an invalid response for workflow operation 'When_a_survey_response_is_submitted' of type 'OpenApiConnectionWebhook'. Error details: 'The API operation 'AddData' requires the property 'body/feature/repeats/employee_repeat/0/attributes/addEmployees' to be of type 'String' but is of type 'Integer'.'

 

It's referring to a question on the survey that is a select_one using employee IDs as the data it passes. These have always passed as a string because it's a select_one question. However NOW it seems to be passing it as an integer, but because the field is a string it sees a mismatch and it breaks it. If I remove that field from the actions in the webhook it let's it run, but it's a fairly important attribute to include.

 

Anyone have any ideas what's causing this? Is there an issue with updates to Survey123 recently?

I have the same question (0)
  • ccaceres22 Profile Picture
    2 on 25 Feb 2022 at 17:32:22
    Re: Survey123 Power Automate Trigger Issues

    Hello, have you found any solution to your problem? I am having a similar error.

  • RBlash Profile Picture
    4 on 16 Mar 2022 at 00:42:26
    Re: Survey123 Power Automate Trigger Issues

    If anyone has found a solution to this please chime in. I'm having a similar issue where it wants to see an integer attribute as a string, which is breaking my workflow, despite having existing surveys using the same schema that are working fine.

     

    ResponseSwaggerSchemaValidationFailure. The API 'survey123' returned an invalid response for workflow operation 'When_a_survey_response_is_submitted' of type 'OpenApiConnectionWebhook'. Error details: 'The API operation 'AddData' requires the property 'body/feature/attributes/Diameter_in' to be of type 'String' but is of type 'Integer'.'

  • adf102 Profile Picture
    2 on 06 Sep 2022 at 16:54:46
    Re: Survey123 Power Automate Trigger Issues

    Running into the same problem. Rebuilding the whole flow didn't work either as I had the same error happen

  • Anderrj2 Profile Picture
    25 on 06 Sep 2022 at 16:59:12
    Re: Survey123 Power Automate Trigger Issues

    I believe it ended up being an Esri sided issue, the problem when I was having it initially had been fixed but it seems with the latest release it's popped up again, I've been receiving lots of other comments on it on the Esri Community post I created here: 

    https://community.esri.com/t5/arcgis-survey123-questions/survey123-power-automate-trigger-issues/td-p/1119638

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 707 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 499 Moderator

#3
chiaraalina Profile Picture

chiaraalina 312

Last 30 days Overall leaderboard
Loading complete