I have a survey that was created within the last month using Survey123 Connect 3.11.123 and built from an existing feature layer. I'm actually running app integration in Workforce to launch this survey directly from the Workforce app into the Survey123 webform. I had everything working and was not experiencing any issues until the April 13, 2021 update of ArcGIS Online. Since that update, upon attempting to submit a survey from a mobile device I receive an error at the top of the screen that simply says "Failed to submit." No further explanation, just that. I've researched this issue and found several different cases of people with a similar problem, all of which I've checked my situation for comparable solutions and have come up with no explanation. I'm sure it's something simple that I'm overlooking, but I can't seem to nail it down.
While I hesitate to provide any unnecessary information, I should note that the feature layer upon which this survey was built is the Workforce Assignments layer from my Workforce project. I'm using the survey to collect additional attribute information for each assignment, so the survey is being opened in "edit mode" so as to edit an existing feature rather than create a new one, passing the GlobalID to the survey via URL parameters to identify the feature to be edited. This procedure was validated through another thread found here. It is stretching the "out of the box" functionality of the app integration between these two apps, but it was confirmed by ESRI that it will work, and IT WAS working, before this new update to AGOL. The survey opens up just fine when you open it from the Workforce app, and I can populate the survey questions normally, it just won't allow me to submit.
I've attached the xlsform for my survey. I'm hoping there is some simple problem that I'm overlooking, but with the vague error message I'm getting, I'm not certain where to look. Maybe someone can spot my issue.
Let me know if I need to provide any additional information. Also, this is not a public survey, so sharing the link won't do any good (It's also not designed to open up separately from Workforce, since it's editing an existing feature and must have the GlobalID passed from Workforce using URL parameters.)
@TylerBragg2 the Survey123 url looks correct to me, but someone from the Survey123 team would need to comment on it. I don't see anything in the installs we made for the April release that would explain what you're seeing - especially the scenario that it fails and then works if you open it the second time.
Can you capture a HAR file for this? I might have some time to take a look at and see if I can find anything. You can send it to ArcGISWorkforce@esri.com.
@TylerBragg2ah, missed that piece. You're going to have to capture the network traffic. At this point Tyler, I believe the best course of action on this is to contact Support to work with you on the issue.
Feel free to tell them we've been talking on the forum and I directed you to contact them - it may help speed things up and get it to us or the Survey123 team faster; if Support cannot diagnose the issue.
@TylerBragg2- have you worked out a solution? I'm in a similar boat with one of my S123 forms, but it's not Workforce related. It was created and working up until recently.
The odd thing is the data ends up coming through on the feature service, despite the "Failed to submit" error. I've also made a copy of the survey, and that copy works fine, so I can't say it's an issue with the form.