I have an editing-mode Survey123 webform embedded in a dashboard that filters off of a category selector. About 1 in every 5 selections of a feature from the category selector the form fails to load:
The form seems to pop up for a split second before moving to the error.
I don't think it has anything to do with the attributes in the field because I can reload the same feature over and over and it will error out eventually. However reselecting the record will generally prompt it to load correctly. Its coming from a feature layer hosted in an SDE. Not seeing any error in Chrome developer tools. Anything I can try?
I'm getting the same intermittent error when editing in a webform, though with a feature service in AGOL created by Survey123 Connect.
Similarly not seeing any errors from the browser console.
Hi, I'm getting the same issue with data from SDE. Anyone found a solution/workaround for this?
I am getting the same error as well on 3 different surveys, all of which were working fine up until this point. There were no edits made to the survey between now and when it was working properly. Data is also from server service.
I am also receiving this error message in a survey I have embedded into a dashboard. The survey was working just fine when I was using it only a few days ago.
Likewise, I am also not seeing any errors from the browser console.
Now after 2 hours the survey is working again just as it did before. Would love to know if there's any way to avoid, or at least limit, this error from happening again in the future.
I noticed the same behavior when I got this error: the surveys randomly started working again a couple of hours later. Luckily, I have not had the error occur since, but agree that it would be great to get more information on this issue and how to avoid it going forward.
Hello,
I experienced the same issue this morning (my feature service has a 1-M relationship with attachments on the related feature class, data in SDE, published on my Portal). I just restarted the service and everything started working again.
Let's see how long it last
Hi.
Also have this message on pure ArcGIS online layer+related table...
Any Ideas? Thanks a lot.
Noam
@JamesTedrick or @IsmaelChivite - Would either of you have any advice on this topic? There seems to be no answers to this thread yet, though it seems as though some folks experienced a resolution after some time. I'm having this issue now, but mine is not resolving on its own.
I have a survey embedded in a dashboard (in edit mode) that has been running perfectly for 2 years now. I recently had the need to add a related table to the hosted feature layer so I could add inspections to the features in the layer, which I found you can do via some python scripting in Notebook in ArcGIS Pro. This seemed to work perfectly, until I discovered yesterday that my survey is now displaying the error "Cannot read properties of undefined (reading 'indexOf'). See screenshot below. I suspect this has something to do with the fact that there is now a related table associated with the hosted feature layer.
Here's my URL for the embedded survey:
"https://survey123.arcgis.com/share/[itemid]?mode=edit&globalId={field/globalid}&version=latest"
I've checked this syntax and it is correct (and it has been in place and working for a long time now). I suspect this error has something to do with referencing the globalId now that there is another sublayer in the hosted feature layer, but I don't know for sure. I can tell you that when I remove the "&globalId={field/globalid}&version=latest" from the URL, the survey displays properly, though it does give the message that editing is not possible because there is no reference to the globalId.
Again, I think the key indicator for me is that this survey & dashboard have been operational for 2 years now with daily editing taking place and no issues. It was only when I added the related table to the feature layer did the problem occur. I think that helps point to the problem, I'm just not sure where to look (or what I'm looking for). Is it possible that the sublayer within the hosted feature layer needs to be identified within the globalId syntax (sublayer "0" is the feature class and sublayer "1" is the table), and is that even possible to make that distinction?
Any advice you can provide would be helpful for both me and the other folks who have been experiencing this problem. I need to get this back up and running as quickly as possible for the folks relying on this in my office. I'm happy to send you the xls form for the survey or anything else that would help diagnose this issue. Thanks!