ERROR
Attempts to create new features in a hosted feature layer in ArcGIS Pro fail, and return the following error message:
Error: Failed to create new feature(s). General function failure [Database error has occurred.]
The relational data store in which the hosted feature layer is stored is set to read-only. In most cases, the relational data store is automatically set to read-only due to insufficient disk space.
To resolve the error, change the relational data store setting from read-only to read-write mode using the following workflow.
cd C:\Program Files\ArcGIS\DataStore\tools
C:\Program Files\ArcGIS\DataStore\tools>describedatastore
If the relational data store is in read-only mode, the prompt returns the following message:
C:\Program Files\ArcGIS\DataStore\tools>changedatastoremode readwrite --store relational --prompt no
Note: In ArcGIS Data Store versions prior to version 10.8.1, the command line in Step 4 reads as follows: C:\Program Files\ArcGIS\DataStore\tools>changedatastoremode readwrite When prompted with Do you wish to continue (Yes or No)?, type Yes, and press Enter.
updatebackupschedule --starttime 23:00:00 --frequency 10
Get help from ArcGIS experts
Download the Esri Support App