The ReasonCode attribute value of the result message structures is one of the following fixed values:
ReasonCode |
Description |
---|---|
ESRC_OBJECT_NOT_FOUND_BY_KEY |
The object requested was not located in the database by the given key, either because it does not exist or the requesting user does not have access. |
ESRC_VALIDATION_FAULT |
A business logic or data integrity check did not pass for the given object data. |
ESRC_UNRESOLVED_IDENTIFIER |
A referenced element, such as a related object or foreign key, was not located using the given identifier. |
ESRC_DUPLICATE_IDENTIFIER |
The request would create conflicting duplicate values, an object already exists with the given identifier. |
ESRC_MISSING_REQUIRED_VALUE |
A required value was not provided. |
ESRC_DISALLOWED_BY_FILTER |
A filter defined on the API object view does not allow the value to be manipulated in this scope. |
ESRC_DISALLOWED_BY_CONDFORMAT |
A conditional formatting rule (dynamic per row) prevents the requested update. |
Reason codes are returned on a per-object basis and only for object-based APIs when making writes.