I came across this issue today for a survey embedded as a web form within a VUE js app:
The setting within the survey for forcing an update is turned off.
The only way to resolve the issue was to install S123Connect 3.12 and to republish the survey.
Is this a new "feature" of Survey123?
Is there anyway to stop survey123.arcgis.com from trying to force an upgrade while the user is trying to access the form? Is there another setting that can be modified?
Hi @Dawn ,
From your description, there's a bit of overlap in what 'upgrade'/'update' means. Upgrade refers to the version of Survey123 Connect/Survey123 website used to publish the form; update refers to re-publishing of the form.
The setting in Survey123 Connect is specific to requiring the Survey123 field app to require the user to use the latest version of the form that is published. This is irrespective of the version of Survey123 Connect used to publish the form. This is also pertains only to the field app and has no bearing on the web form.
You mentioned that the form is embedded in another application. What is the embedding mechanism? Are using the version=latest URL parameter to require the upgrade (it appears so based on the console log you provided)?
The easiest way to resolve this would be to republish with the current version of Survey123 Connect. With regard to the 504 error, it would be useful to open an Esri Support ticket to try to diagnose what is occurring.
Hi James
Thanks for the quick response.
The survey is imbedded in a VUE.js application
@Dawn ,
Following up on the 504 issue, our server logs indicate that this may be something particular with your form (all of the occurrences of a 504 error for updateWebform in the past 3 days appear to be associated with one form). I'm wondering if there are some aspects to the form that would cause the updateWebform processing to take a longer than allowed for time; one particular area that could cause this are a large number of choices in the form. If you would like to, please follow up with me via e-mail (jtedrick AT esri.com) with the form so that we could further analyze this.
In checking with the Survey123 web development team, the cause of the 504 in your situation (portal unreachable) was identified during 3.13 development and should be resolved with 3.13's release yesterday.
Thanks for the feedback James - I haven't upgraded to 3.13 yet as the 504 error has not reoccurred.
I seem to be having a similar issue with only one of my Survey123 web forms... I've tried republishing, but the error message persists: "The webform needs to be upgraded, but an error occurred while upgrading."
@JamesTedrick are there any known issues that could have caused this today? I know ESRI is working on a big update to AGOL slated for tomorrow(?).
I have numerous other forms that are fine, and the issue with this one form was just brought to my attention today. Here's the form URL: https://survey123.arcgis.com/share/85203491d0dd43f299d9e3f01177adcf
Thanks for any help!
As of this morning, I'm also having similar problems and when trying to access surveys, I receive the 'HTTP 504: UNKNOWN_ERROR (The webform needs to be upgraded, but an error occurred while upgrading'. I'm not sure if this error stems from the ArcGIS.com server issues they were having last night. It would be good to know if this is something on ESRI's end or my end so I don't complicate things. Thanks!
Problems seem to have resolved for my form. I'm just going to attribute the error message to recent AGOL/S123 Upgrades... Glad it's fixed now!
Problems here as well with Survey123 with original message same as above, but now simply
{"message":"Internal Server Error"}: