Update Errors

  • URL:https://<validationservice-url>/updateErrors(POST only)
  • Version Introduced:10.7


Using the specified version and session id, set the specified properties of the validation error features found in the GDB_VALIDATION*ERROR tables. This is a generalized API that supports extensions to the core validation framework (for example, the ArcGIS Data Reviewer extension that contains additional metadata on each persisted error feature).

Request Parameters


Description: Optional parameter representing the output format of the response. The default response format is html.

Value: html | json


Description: Optional parameter specifying the name of the geodatabase version (default is DEFAULT).

Syntax: gdbVersion=<version>


Description: Optional parameter representing the sessionId (guid) used to lock the version. A client can use the sessionId to enable long transaction (undo/redo) in a version.

If the calling client is editing a named version, the sessionId must be provided; if the client is editing DEFAULT, the version may not be locked and the sessionId should not be specified.

Syntax: sessionId=<guid>


Description: The error features to be updated. The structure of each feature in the array is the similar to the structure of the json feature object returned by the ArcGIS REST API.


    "errorType" : "object" | "point" | "line" |
    "features" : [
        "globalId" : <guid>,
        "fields" : {
          "name1" : <value1>,
          "name2" : <value2> 

JSON Response Syntax

JSON response:

  "moment" : <datetime>,
  "success" : <true | false>,
  "error" : {                   // only if success is false
    "extendedCode" : <HRESULT>,
    "message" : <error message>,
    "details" : [ <detail> ]