Unable to save changes to the hosted layer setting and also unable to create views

01-21-2021 01:00 PM
New Contributor III


When trying to save settings or to create views on one of my hosted feature service on ArcGIS Portal (10.8.1), I am getting error:

{"error":{"code":500,"message":"index -1,length 0","details":[]}}

I also get same error message when I try to add field.

Has anyone encountered error like this?

How to get around this problem?






1 Reply
New Contributor III


I also observe the same problem when I change settings (e.g. disable/enable editing) on certain hosted feature layers via the portal website or when I want to change field information with the update_definition function (FeatureLayerManager) from the "ArcGIS API for Python".

Even after overwriting the hosted feature layer with ArcGIS PRO ("Overwrite Web Layer"), the error remains. If I repeat the overwriting, the error sometimes disappears.

I also think that the problem was originally caused by performing the "Overwrite Web Layer" function.

The original data source of the web layer is a feature class in an Oracle database (without SDE extension), which is added to ArcGIS PRO and published as a web layer.


Our environment is:

  • ArcGIS Enterprise 10.9.1
  • ArcGIS PRO 3.0.3
  • Oracle Database
0 Kudos