I am trying to use the Update Definition operation on a hosted feature layer view through the Admin view of the REST endpoint of the feature service. The change i am trying to make is setting some default values in the 'templates' element. However, regardless of the changes i try to make to the definition, i am getting the following error message:
Even for the simplest change of setting "lastEditDate" : " ", I get the error message. I am the owner of the view.
The definition query (as generated by AGOL when creating the view) looks like this:
{
...
"viewDefinitionQuery" : "(IsActive = 'Yes') AND (CaseType = 'Report') AND (ReportStatus = 'Received')",
"definitionQuery" : "(IsActive = 'Yes') AND (CaseType = 'Report') AND (ReportStatus = 'Received')"
...
}
Any thoughts on what's going on?