ERROR

The tag beginning with "<tag>" is unopened

Last Published: May 5, 2022

Error Message

Attempts to upload a new feature report template in ArcGIS Survey123 fail and return the following error message:

Error:   
Error: The tag beginning with "<tag>" is unopened.
Error message

Checking the syntax in the template by clicking Check syntax Check syntax in the feature report template window returns the same error message.

Cause

There is a syntax error in the field name code, ${fieldname}, in the feature report template, which is a Microsoft Word file that provides placeholder text with syntax. The following are possible causes for the error:

  • There is a space between the interpolated string ($) and the first curly bracket ({) in the field name code.
  • The interpolated string ($) is missing from the field name code.

Solution or Workaround

To circumvent the issue, edit the field name code in the Microsoft Word file to remove the syntax error. Depending on the cause, choose one of the workflows listed below:

Remove the space in the field name code

  1. Search for the field name code with a space between the interpolated string ($) and {fieldname}.
    1. In the Microsoft Word file, press Ctrl and F. Insert an interpolated string ($) and a space in the search box, and press Enter.
    2. Identify the field name code with a space between the interpolated string ($) and the first curly bracket ({).
Question $ {field_name}
Field name code without an interpolated string ($)
  1. Remove the space between the interpolated string ($) and {field name}.
Question ${field_name}
Space removed from the field name code
  1. Save the document, and upload the updated feature report template in ArcGIS Survey123.

Add an interpolated string ($) in the field name code

  1. Search for the field name code without the interpolated string ($).
    1. In the Microsoft Word file, press Ctrl and F. Insert a space and the curly bracket ({) in the search box and press Enter.
    2. Identify the field name code without the interpolated string ($).
Question {field_name}
Field name code without an interpolated string ($)
  1. Insert the interpolated string ($) before the curly bracket ({).
Question ${field_name}
Add the interpolated string ($) in the field name code
  1. Save the document and upload the updated feature report template in ArcGIS Survey123.

Below is a sample of a feature report template in a Microsoft Word file with the correct syntax.

Feature Report sample in a Word document

Article ID:000020300

Software:
  • ArcGIS Survey123 Website

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic