ERROR
In ArcGIS Online, creating a hosted feature layer view returns the following error message:
Error: The view layer could not be created. Try again.
The feature layer view is created and listed on the ArcGIS Online Content page, but it is not displayed when opened in Map Viewer.
Depending on the cause, the following workarounds are applicable.
In ArcGIS Pro or ArcGIS Online, edit to remove the feature layer metadata completely, or manually type the metadata to avoid unnecessary HTML tags.
Edit the feature layer metadata in ArcGIS Pro
Edit the feature layer metadata in ArcGIS Online
Note: Click Edit under the Description section once more to check if there are any HTML tags, such as the margin or alignment tags, remaining in the description.
Warning: Do not remove the HTML tags from the feature layer's JSON in the REST endpoint. This may cause the feature layer and the feature layer views that have been created to lose edit functionalities in Map Viewer.
While creating the feature layer view, in the last (Create view) section, rename the view title to remove special characters, or, truncate the title to 90 characters and below. Ensure the title is unique and not used for other items in the same folder.
Note: In some cases, a hosted feature layer created from a zipped file geodatabase and uploaded into the ArcGIS Online Content page is corrupted. As a result, a hosted feature layer view cannot be created for the layer. In this case, republish the feature layer from ArcGIS Pro. Refer to ArcGIS Pro: Share a web feature layer for more information.
Article ID: 000029529
Get help from ArcGIS experts
Download the Esri Support App
You can also download the app to access the chatbot anytime! Download it now.