Select to view content in your preferred language

Failed to Save: Cannot read properties of undefined (reading 'replace')

196
2
03-06-2025 02:47 PM
Bailey_Briggs
New Contributor

Hi, I'm having an issue with an existing form, when I try to share results to a group in the collaborate tab -> share results, it says Failed to save: Cannot read properties of undefined (reading 'replace'). This is the only setting that throws that error, as I can change the share survey, update survey, etc., settings. Specifically, a problem with 'sharing results' to anyone.

I confirmed that all related and linked content (web maps, hosted/view layers, dashboard) is shared with the same group, same sharing settings, and all exist within the same folder. This survey was shared with that same group a week ago and they had access to the data, and now they don't, seemingly overnight. 

No issues with the form itself as entries can still be made, I analyzed and republished it to make sure. This seems to be only affecting the survey123 website, or the share results settings. Not a group specific issue as I can't share results with anyone (org or public). Any advice would be appreciated, I can provide more information if need be, just not sure what is pertinent. Thanks!

Tags (1)
0 Kudos
2 Replies
DavidPike
MVP Notable Contributor

It may be something to do with the Hosted Feature Layer View _results if it has properties that may have been modified outside of the Survey123 site.  I might be tempted to delete the _results view and retry - or set the sharing within ArcGIS Online from the Hosted Feature Layer and View.

0 Kudos
LinzMess
Occasional Contributor

I am having the same issue. However, when I published my survey via Survey123 Connect, a view layer was never created (or it is possible it was deleted by mistake/not understanding it was needed). Members of the shared group are able to collect survey data and edit it via webmap just fine. I was able to create a report template and as the survey owner, I can run reports via Survey123 website. I am able to adjust the "share survey" settings on the survey123 website, but am unable to modify any of the "share results" settings and get the error @Bailey_Briggs mentions above. I realized I needed to change the "share results" settings in order for shared group members to be able to run reports. Is my error related to not having a _results view?  I did create a hosted view layer outside of the Survey123 website and the title I gave it was the same as the hosted feature layer with _results at the end. I then retried "share results" settings via Survey123 website "collaborate tab" but that did not change the error I receive.

0 Kudos