Survey123 - Failed to submit - Cannot read properties of null (reading 'closest')

01-06-2022 09:45 AM
New Contributor III


  • Survey123 form embedded in an ArcGIS Dashboard
  • Form reads to a hosted table (Projects)
  • Projects contains 2 related tables (Funding) and (Changes)


  • I can submit a record IF I supply a related record in one of the related tables via a repeat
  • I cannot submit a record if I do not wish to supply a related record
  • I get the following error - Failed to submit - Cannot read properties of null (reading 'closest')
  • I've attached a screenshot of the error and the XLS form used for the survey
0 Kudos
3 Replies
Esri Regular Contributor

Hello @GISUser74305830

It looks like the XLSForm provided is using a submission URL and the survey may have been built based on an existing feature service. Just to confirm are the relationships between the parent layer and related tables 1:M based on globalID to GUID? Please see this documentation for more information. 

Thank you,
0 Kudos
New Contributor III

Zachary - i solved it. I needed to populate the Relevant field for the repeats. 




New Contributor II

This did the trick! Like your example, I had to populate the relevant fields for ALL the fields within the repeats, and not just the repeats like I had.


Thanks for posting this solution!

0 Kudos