ERROR
Attempts to submit a survey response in ArcGIS Survey123 fail and return the following error message:
Error: Failed to submit.
[{"id":0,"addResults":[{"success":false,"globalId":null,"error" {"code":10500,"description":"Database error has occurred."},"objectId":null}]}]
The relational data store storing the hosted feature layer is set to read-only. In most cases, the relational data store is placed in read-only automatically due to insufficient disk space, which is 1024 MB by default. The relational data store can also be set to read-only by the administrator for maintenance purposes.
Change the relational data store mode from read-only to read-write mode.
Note: If disk space is insufficient, add more disk space before changing the relational data store mode. Refer to ArcGIS Enterprise: Disk space requirements for more information.
cd C:\Program Files\ArcGIS\DataStore\tools
C:\Program Files\ArcGIS\DataStore\tools>describedatastore
The image below displays the relational data store in read-only mode.
C:\Program Files\ArcGIS\DataStore\tools>changedatastoremode readwrite --store relational --prompt no
The image below displays the data store mode after changing from read-only to read-write.
Get help from ArcGIS experts
Download the Esri Support App