ERROR

Code 1000 Must declare the scalar variable "<variable>"

Last Published: May 6, 2022

Error Message

In some instances, when submitting a survey using the ArcGIS Survey123 app, the following error is returned:

Error:
Code 1000 Must declare the scalar variable "<variable>".
Screenshot of the error.

Cause

  • Unable to identify the GlobalID
    The ArcGIS Survey123 app is unable to identify the GlobalID field. This is a known limitation.
  • The ObjectID or GlobalID field contains upper case characters
    This error occurs when the ObjectID or GlobalID field contains upper case characters. This is a known limitation.
  • Invalid field names in the XLSForm¬†
    There are invalid field names in the XLSForm of the survey when the survey is created.

Solution or Workaround

Based on the cause, the following solutions are applicable.

  • Unable to identify the GlobalID
    Upgrade to ArcGIS Survey123 2.3 or later, as this issue has been resolved.
  • The ObjectID or GlobalID field contains upper case characters
    Ensure the ObjectID or GlobalID field only contains lowercase characters, or upgrade to ArcGIS Survey123 2.3 or later, as this issue has been resolved.
  • Invalid field names in the XLSForm
    Ensure there are no invalid field names in the XLSForm. Remove any special characters such as $, %, and # from the field names in the XLSForm. For more information on invalid and unsupported characters in a field, refer to ArcGIS Online: Add a field.

Article ID:000001052

Software:
  • ArcGIS Survey123 Website
  • ArcGIS Survey123 Field App Android
  • ArcGIS Survey123 Field App iOS

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options