XML Error using Pull Data for WEb Browser Surveys

273
2
Jump to solution
07-30-2021 09:38 AM
cschooley
New Contributor III

I currently have a survey that uses pulldata() to autofill the survey.

For context, this pulldata table helps to autofill fields in the survey based on a permit number for mineral mines. 

I recently updated this pulldata table and after publishing received this error:

image (2).png

 

I took some advice from forums I read on here among other sources, yet I still receive this error.

The troubleshooting that has been done so far:

  • Saved the table in the media folder of the survey as a CSV 
  • Saved the table in the media folder of the survey as an XLS
  • Removed commas and all other special characters
  • Ensured no spaces in the field names, before, after, or in between words
  • Matched new table schema to old table schema. That one had no issues (the last update of the table was done at the beginning of April)

Important things to note:

  • Sync is enabled for the survey
  • The survey was created with Survey123 Connect
  • Survey loads properly in mobile application
  • Survey throws XML error only in browser (Chrome is the browser I am using)

Any help would be appreciated.

Thank you. 

0 Kudos
1 Solution

Accepted Solutions
cschooley
New Contributor III
I found what the issue was, a single leading space in one of the fields,
not a field name, but a value in a field.

Thank you for getting back to me!

View solution in original post

2 Replies
Ruth_JiatengXu
Esri Contributor

Hi @cschooley 

Thanks for sharing here! If it is possible could you please provide your XLSForm and the CSV table, or share your survey with us, so that we can reproduce the issue?

Thanks,

Ruth

0 Kudos
cschooley
New Contributor III
I found what the issue was, a single leading space in one of the fields,
not a field name, but a value in a field.

Thank you for getting back to me!

View solution in original post