Sign Result Codes
The following result codes can occur while making SDK calls for CodeSign Protect.
Error Code | Message | Description |
|---|---|---|
| 0 | None | Undefined result |
| 1 | Success | The operation was successful |
| 2 | InsufficientPermission | Insufficient permission to perform the operation |
| 3 | CreateFailure | Failed to create an object |
| 4 | UpdateFailure | Failed to update an object |
| 5 | DeleteFailure | Failed to delete an object |
| 6 | RenameFailure | Failed to rename an object |
| 7 | ObjectNotFound | Expected one object type but was requesting another |
| 8 | IncorrectObjectType | Operation prohibited on objects with children |
| 9 | ObjectHasChildren | Failed to assign permissions |
| 10 | AssignPermissionFailure | Object was saved and related objects had changes that were not saved |
| 11 | RelatedObjectNotSaved | An error occurred when trying to execute the command via REST API |
| 12 | RemoteError | The requested functionality has not been implemented yet |
| 1000 | AssignProjectPermissionFailure | Project may have been saved, but assigning role permissions failed |
| 1001 | DuplicateUserAssignment | The user/group was added to a role they were already assigned to |
| 1002 | UserNotFound | The user/group was not found in the role |
| 2000 | ObjectInGroup | Tried to add an object to the group that was already there |
| 2001 | ObjectNotInGroup | Tried to remove an object from the group that was not in the group |
| 2002 | ObjectAlreadyExists | Tried to create an object and an object with the same name already exists |
| 3000 | EnvironmentMoveRestricted | Tried to change the project containing an environment |
| 3001 | ValueProhibitedByTemplate | An attribute on the environment does not match what is required by the template |
| 3002 | KeyAccessFailure | An attempt to access the key in this environment has failed |
| 3003 | QueryFailure | An error occurred while performing a search |
| 3004 | ImportFailure | An error occurred while performing an import |
| 3005 | ObjectsPending | The key, certificate, or other object is not yet ready for this environment |