Unable to update feature service layer definition error if updating over 37,267 coded values

510
0
07-02-2021 09:22 AM
cnw_ivesleung
New Contributor III

I am trying to use updateDefinition to update coded values in the domain for a field. I was able to update layer definition with 37,267 coded values successfully, but anything over that returns this error:

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