Trying to update an ArcGIS Online hosted feature serviceDescription using admin rest api

127
0
02-18-2024 07:29 PM
Labels (1)
ChrisCrowe
New Contributor II

I have an ArcGIS Online Hosted Feature Service.

I am trying to perform an updateDefinition and update the serviceDescription of a hostedFeatureService.

I am passing this as the payload to the rest service url

https://services.arcgis.com/abc/ArcGIS/rest/admin/services/CC_3_VMSData/FeatureServer/updateDefiniti...

ChrisCrowe_0-1708313275254.png

 

This appears correct as per https://developers.arcgis.com/rest/services-reference/enterprise/update-definition-feature-service-....

But I get the following error

 

{
    "error": {
        "code": 400,
        "message": "Unable to update feature service definition.",
        "details": [
            "Invalid definition for 'ServiceDescription'.",
            "Exception has been thrown by the target of an invocation."
        ]
    }
}

 

 

I can only set the serviceDescription to "", anything else returns the above message. 

Any thoughts on how to overcome this?

Chris

0 Kudos
0 Replies