ERROR
Attempts to create new features or update feature edits in Map Viewer fail and return the following error message:
Error: Something went wrong
Edits could not be saved: Error
In Map Viewer, in the Create features pane, exclude '<Null>' from the attribute of the text field when creating features. Refer to ArcGIS Online: Edit features (Map Viewer) for more information.
Note: To apply this workaround, ensure the 'Keep track of changes to the data (add, update, delete features)', 'Keep track of who edited the data (editor name, date and time)' or 'Enable Sync (required for offline use and collaboration)' options are not checked under the Feature layer (hosted) section on the ArcGIS Online Settings tab.
if ($feature.<field name> == "<Null>"){ Return None } else { Return $feature.<field name> }
The attribute table below shows <Null> replaced with the null value (blank space).
Article ID: 000031758
Get help from ArcGIS experts
Download the Esri Support App