Cannot read properties of undefined (reading 'indexOf')

11-15-2022 03:26 PM
Occasional Contributor

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?

0 Kudos
3 Replies
New Contributor

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.

New Contributor III

Hi, I'm getting the same issue with data from SDE. Anyone found a solution/workaround for this?

New Contributor II

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.