SpaceArtifactErrorCode
Represents the error codes associated with Space artifact operations.
enum SpaceArtifactErrorCode {
NO_SPACE_ARTIFACT_METADATA_FOUND
INVALID_PAGE_NUMBER
INVALID_PAGE_SIZE
SEARCH_STRING_CANNOT_BE_BLANK
SPACE_ID_CANNOT_BE_BLANK
MALFORMED_URL
INVALID_CATEGORY_CODE
EMPTY_CATEGORY_CODE_ARRAY
EMPTY_REFERENCE_TAG_ARRAY
INVALID_SPACE_ARTIFACT_LISTING_TAG_INPUT
INVALID_SPACE_ARTIFACT_LISTING_CATEGORY_INPUT
EMPTY_CATEGORY_INPUT
EMPTY_CATEGORY_NAME
EMPTY_CATEGORY_CODE
CATEGORY_CODE_ALREADY_EXISTS
INVALID_CATEGORY_UPDATE_INPUT
EMPTY_CATEGORY_GUID
EMPTY_CATEGORY_NAME_CODE_AND_STATUS
NO_CATEGORY_EXISTS_FOR_GUID
INVALID_SEATCH_INPUT
NO_CATEGORY_EXISTS_FOR_CAT_CODE
INVALID_TAG_CREATE_INPUT
INVALID_TAG_NAME
EMPTY_REF_TAG_ID
INVALID_TAG_DISPLAY_ORDER
INVALID_CATEGORY_ID
NO_TAG_EXISTS_FOR_REF_TAG_ID
NO_TAG_EXISTS_FOR_PARENT_TAG_ID
TAG_WITH_GIVEN_NAME_EXISTS_FOR_CAT
INVALID_TAG_UPDATE_INPUT
INVALID_TAG_GUID
NO_TAG_EXISTS_FOR_TAG_ID
TAG_EXISTS_FOR_CATEGORY_CODE
TOPIC_NAME_INCORRECT
TOPIC_NAME_STATUS_NULL
INVALID_NEW_SUBMISSION_STATUS
SUBMISSION_STATUS_UPDATE_NOT_ALLOWED
LISTING_NOT_IN_DRAFT_STATUS
LISTING_NOT_DELETABLE
ARTIFACT_LISTING_TOPIC_NOT_FOUND
INVALID_STATUS
FILE_NOT_FOUND
INVALID_FILE_FORMAT
NOT_UPDATABLE
TAG_IS_REFERENCED_IN_OTHER_TAGS
}
Values
SpaceArtifactErrorCode.NO_SPACE_ARTIFACT_METADATA_FOUND {#no-space-artifact-metadata-found}
No metadata found for the specified artifact metadata document ID
SpaceArtifactErrorCode.INVALID_PAGE_NUMBER {#invalid-page-number}
Invalid page number provided
SpaceArtifactErrorCode.INVALID_PAGE_SIZE {#invalid-page-size}
Invalid page size provided
SpaceArtifactErrorCode.SEARCH_STRING_CANNOT_BE_BLANK {#search-string-cannot-be-blank}
Artifact search string cannot be blank
SpaceArtifactErrorCode.SPACE_ID_CANNOT_BE_BLANK {#space-id-cannot-be-blank}
Space ID cannot be blank
SpaceArtifactErrorCode.MALFORMED_URL {#malformed-url}
URL is malformed
SpaceArtifactErrorCode.INVALID_CATEGORY_CODE {#invalid-category-code}
Invalid category code provided
SpaceArtifactErrorCode.EMPTY_CATEGORY_CODE_ARRAY {#empty-category-code-array}
Category code array is empty
SpaceArtifactErrorCode.EMPTY_REFERENCE_TAG_ARRAY {#empty-reference-tag-array}
Reference tag array is empty
SpaceArtifactErrorCode.INVALID_SPACE_ARTIFACT_LISTING_TAG_INPUT {#invalid-space-artifact-listing-tag-input}
Invalid space artifact listing tag input
SpaceArtifactErrorCode.INVALID_SPACE_ARTIFACT_LISTING_CATEGORY_INPUT {#invalid-space-artifact-listing-category-input}
Invalid space artifact listing category input
SpaceArtifactErrorCode.EMPTY_CATEGORY_INPUT {#empty-category-input}
Space artifact category input is null or empty
SpaceArtifactErrorCode.EMPTY_CATEGORY_NAME {#empty-category-name}
Space artifact category name is null or empty
SpaceArtifactErrorCode.EMPTY_CATEGORY_CODE {#empty-category-code}
Space artifact category code is null or empty
SpaceArtifactErrorCode.CATEGORY_CODE_ALREADY_EXISTS {#category-code-already-exists}
Category code already exists
SpaceArtifactErrorCode.INVALID_CATEGORY_UPDATE_INPUT {#invalid-category-update-input}
Invalid category update input
SpaceArtifactErrorCode.EMPTY_CATEGORY_GUID {#empty-category-guid}
Empty category GUID
SpaceArtifactErrorCode.EMPTY_CATEGORY_NAME_CODE_AND_STATUS {#empty-category-name-code-and-status}
Category name, code, and status are null or empty
SpaceArtifactErrorCode.NO_CATEGORY_EXISTS_FOR_GUID {#no-category-exists-for-guid}
No category exists for the provided GUID
SpaceArtifactErrorCode.INVALID_SEATCH_INPUT {#invalid-seatch-input}
Invalid search input
SpaceArtifactErrorCode.NO_CATEGORY_EXISTS_FOR_CAT_CODE {#no-category-exists-for-cat-code}
No category exists for the provided category code
SpaceArtifactErrorCode.INVALID_TAG_CREATE_INPUT {#invalid-tag-create-input}
Invalid tag create input
SpaceArtifactErrorCode.INVALID_TAG_NAME {#invalid-tag-name}
Invalid tag name
SpaceArtifactErrorCode.EMPTY_REF_TAG_ID {#empty-ref-tag-id}
Empty reference tag ID
SpaceArtifactErrorCode.INVALID_TAG_DISPLAY_ORDER {#invalid-tag-display-order}
Invalid tag display order
SpaceArtifactErrorCode.INVALID_CATEGORY_ID {#invalid-category-id}
Invalid category ID
SpaceArtifactErrorCode.NO_TAG_EXISTS_FOR_REF_TAG_ID {#no-tag-exists-for-ref-tag-id}
No tag exists for the provided reference tag GUID
SpaceArtifactErrorCode.NO_TAG_EXISTS_FOR_PARENT_TAG_ID {#no-tag-exists-for-parent-tag-id}
No tag exists for the provided parent tag GUID
SpaceArtifactErrorCode.TAG_WITH_GIVEN_NAME_EXISTS_FOR_CAT {#tag-with-given-name-exists-for-cat}
Tag with given name already exists for category
SpaceArtifactErrorCode.INVALID_TAG_UPDATE_INPUT {#invalid-tag-update-input}
Invalid tag update input
SpaceArtifactErrorCode.INVALID_TAG_GUID {#invalid-tag-guid}
Invalid tag GUID
SpaceArtifactErrorCode.NO_TAG_EXISTS_FOR_TAG_ID {#no-tag-exists-for-tag-id}
No tag exists for the provided tag ID
SpaceArtifactErrorCode.TAG_EXISTS_FOR_CATEGORY_CODE {#tag-exists-for-category-code}
If the category you are trying to delete has associated tags, then dont delete the category.
SpaceArtifactErrorCode.TOPIC_NAME_INCORRECT {#topic-name-incorrect}
If topic name entered when calling create/update notes API is not one of the values in SpaceArtifactListingTopicName enum.
SpaceArtifactErrorCode.TOPIC_NAME_STATUS_NULL {#topic-name-status-null}
Topic name and status cannot be null
SpaceArtifactErrorCode.INVALID_NEW_SUBMISSION_STATUS {#invalid-new-submission-status}
Cannot get new submission status from input
SpaceArtifactErrorCode.SUBMISSION_STATUS_UPDATE_NOT_ALLOWED {#submission-status-update-not-allowed}
Authenticated account not allowed to update submission status
SpaceArtifactErrorCode.LISTING_NOT_IN_DRAFT_STATUS {#listing-not-in-draft-status}
If the space artifact listing is not in draft status, then dont delete the space artifact listing.
SpaceArtifactErrorCode.LISTING_NOT_DELETABLE {#listing-not-deletable}
If the listing is not in deletable status.
SpaceArtifactErrorCode.ARTIFACT_LISTING_TOPIC_NOT_FOUND {#artifact-listing-topic-not-found}
Could not find a topic for the artifact listing
SpaceArtifactErrorCode.INVALID_STATUS {#invalid-status}
Invalid submission status
SpaceArtifactErrorCode.FILE_NOT_FOUND {#file-not-found}
If the requested file for the listing does not exist.
SpaceArtifactErrorCode.INVALID_FILE_FORMAT {#invalid-file-format}
If the partner is uploading a file with invalid format.
SpaceArtifactErrorCode.NOT_UPDATABLE {#not-updatable}
If the user is trying to update a listing while it is not in an updatable status.
SpaceArtifactErrorCode.TAG_IS_REFERENCED_IN_OTHER_TAGS {#tag-is-referenced-in-other-tags}
If tag is referenced in other tags.