Waiting for engine...
Skip to main content

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 metadata found for the specified artifact metadata document ID

SpaceArtifactErrorCode.INVALID_PAGE_NUMBER

Invalid page number provided

SpaceArtifactErrorCode.INVALID_PAGE_SIZE

Invalid page size provided

SpaceArtifactErrorCode.SEARCH_STRING_CANNOT_BE_BLANK

Artifact search string cannot be blank

SpaceArtifactErrorCode.SPACE_ID_CANNOT_BE_BLANK

Space ID cannot be blank

SpaceArtifactErrorCode.MALFORMED_URL

URL is malformed

SpaceArtifactErrorCode.INVALID_CATEGORY_CODE

Invalid category code provided

SpaceArtifactErrorCode.EMPTY_CATEGORY_CODE_ARRAY

Category code array is empty

SpaceArtifactErrorCode.EMPTY_REFERENCE_TAG_ARRAY

Reference tag array is empty

SpaceArtifactErrorCode.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

SpaceArtifactErrorCode.EMPTY_CATEGORY_INPUT

Space artifact category input is null or empty

SpaceArtifactErrorCode.EMPTY_CATEGORY_NAME

Space artifact category name is null or empty

SpaceArtifactErrorCode.EMPTY_CATEGORY_CODE

Space artifact category code is null or empty

SpaceArtifactErrorCode.CATEGORY_CODE_ALREADY_EXISTS

Category code already exists

SpaceArtifactErrorCode.INVALID_CATEGORY_UPDATE_INPUT

Invalid category update input

SpaceArtifactErrorCode.EMPTY_CATEGORY_GUID

Empty category GUID

SpaceArtifactErrorCode.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 the provided GUID

SpaceArtifactErrorCode.INVALID_SEATCH_INPUT

Invalid search input

SpaceArtifactErrorCode.NO_CATEGORY_EXISTS_FOR_CAT_CODE

No category exists for the provided category code

SpaceArtifactErrorCode.INVALID_TAG_CREATE_INPUT

Invalid tag create input

SpaceArtifactErrorCode.INVALID_TAG_NAME

Invalid tag name

SpaceArtifactErrorCode.EMPTY_REF_TAG_ID

Empty reference tag ID

SpaceArtifactErrorCode.INVALID_TAG_DISPLAY_ORDER

Invalid tag display order

SpaceArtifactErrorCode.INVALID_CATEGORY_ID

Invalid category ID

SpaceArtifactErrorCode.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 the provided parent tag GUID

SpaceArtifactErrorCode.TAG_WITH_GIVEN_NAME_EXISTS_FOR_CAT

Tag with given name already exists for category

SpaceArtifactErrorCode.INVALID_TAG_UPDATE_INPUT

Invalid tag update input

SpaceArtifactErrorCode.INVALID_TAG_GUID

Invalid tag GUID

SpaceArtifactErrorCode.NO_TAG_EXISTS_FOR_TAG_ID

No tag exists for the provided tag ID

SpaceArtifactErrorCode.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

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 and status cannot be null

SpaceArtifactErrorCode.INVALID_NEW_SUBMISSION_STATUS

Cannot get new submission status from input

SpaceArtifactErrorCode.SUBMISSION_STATUS_UPDATE_NOT_ALLOWED

Authenticated account not allowed to update submission status

SpaceArtifactErrorCode.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

If the listing is not in deletable status.

SpaceArtifactErrorCode.ARTIFACT_LISTING_TOPIC_NOT_FOUND

Could not find a topic for the artifact listing

SpaceArtifactErrorCode.INVALID_STATUS

Invalid submission status

SpaceArtifactErrorCode.FILE_NOT_FOUND

If the requested file for the listing does not exist.

SpaceArtifactErrorCode.INVALID_FILE_FORMAT

If the partner is uploading a file with invalid format.

SpaceArtifactErrorCode.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

If tag is referenced in other tags.

On this Page