Problem: Dataset not found when publishing surveys to Portal for ArcGIS


Attempting to publish surveys from Survey123 Connect for ArcGIS or Survey123 for ArcGIS to Portal for ArcGIS returns the following error messages:

Dataset not found. Status: Error. Details: code 500
Error getting result parameter. Status: Error. Details: code 500
Unable to create a new survey. ERROR: Dataset not found.
​​​​​Image of the error in Survey123 for ArcGIS


The given error messages indicate a broader issue. Potential causes of this error include but are not limited to:

  • Portal for ArcGIS is unable to create hosted feature layers, a core part of the publishing process.
  • The PublishingTools or the PublishingToolsEx geoprocessing services are not running or require a restart.
  • The ArcGIS Data Store license is expired.
  • ArcGIS Data Store is not validated in ArcGIS Server.
  • The user is not assigned permissions to publish hosted feature services to ArcGIS Server.

Solution or Workaround

  1. Review Portal for ArcGIS to ensure it is able to publish hosted feature layers. Test this by creating a layer using Portal for ArcGIS, either through a template, or by directly uploading a CSV file.
If the error is not returned for all survey forms, there may be a configuration problem or an issue with the survey XLSForm design. Republish the survey form, or refer to Survey123 for ArcGIS: XLSForm essentials  for XLSForm design best practices.
  1. If the error remains, check the status of the PublishingTools or the PublishignToolsEx geoprocessing services. Refer to ArcGIS Server: Start and stop services for more information.
  2. Check the ArcGIS Server Manager logs to identify the underlying cause. Refer to ArcGIS Server: Server logs for steps to access the logs.
    1. Run the describedatastore.bat utility. Refer to ArcGIS Enterprise: ArcGIS Data Store command utility reference for more information on ArcGIS Data Store command utility references.
    2. Check Data Store mode, and Free disk space. If Data Store mode is set to READONLY and there is available disk space, use the following command to set the relational data store to READWRITE.
changedatastoremode readonly|readwrite [--prompt <yes|no>]
Data Store mode is automatically set to READONLY when disk-space on the machine is low, to prevent data loss.
  1. Restart the ArcGIS Data Store service in Windows.
Image of Command Prompt for describedatastore.bat

Related Information

Last Published: 1/16/2020

Article ID: 000022129

Software: ArcGIS GeoEvent Server 10.7.1, 10.7, 10.6.1, 10.6, 10.5.1, 10.5 ArcGIS Image Server 10.7.1, 10.7, 10.6.1, 10.6, 10.5.1, 10.5 ArcGIS Server 10.7.1, 10.7, 10.6.1, 10.6, 10.5.1, 10.5 ArcGIS Survey123 3.7, 3.6, 3.5, 3.4, 3.3, 3.2, 3.1, 3.0, 2.9.Classic, 2.8 Portal for ArcGIS 10.7.1, 10.7, 10.6.1, 10.6, 10.5.1, 10.5 ArcGIS GeoAnalytics Server 10.7.1, 10.7, 10.6.1, 10.6, 10.5.1, 10.5