Error Codes
The Document Storage microservice returns the following error codes.
Release 202104, Version 1.0.0
| ERROR CODE | ERROR MESSAGE |
|---|---|
| UNABLE_TO_CREATE_LOCAL_FILE | Unable to create local file. |
| UNABLE_TO_SCAN_FOR_VIRUS | Unable to virus scan the file. Detail: xxx |
| UNABLE_TO_DOWNLOAD_EMPTY_FILE | Unable to download empty file. |
| UNABLE_TO_DOWNLOAD_FILE | Unable to download file. |
| UNABLE_TO_DELETE_FILE | Unable to delete file. |
| UNABLE_TO_UPDATE_DOCUMENT | Unable to generate context metadata. |
| UNABLE_TO_CREATE_DOCUMENT_RECORD | Unable to create document record. |
| UNABLE_TO_DELETE_DOCUMENT_RECORD | Unable to delete document record. |
| UNABLE_TO_DELETE_INFECTED_FILE | Unable to delete infected file. |
| UNABLE_TO_CREATE_BUSINESS_EVENT | Unable to create business event due to virusFoundModel generation. |
| UNABLE_TO_ROLL_BACK_IN_DMS | Unable to roll back document in DMS. |
| NO_DOCUMENT_FOUND | Document xxx not found. |
| EXCEED_MAX_FILE_SIZE_LIMIT | Exceed max file size limit of xx MB. |
| FILE_HAS_VIRUS | The file is rejected, it might contain virus. |
| EMPTY_DOCUMENT_ID | Document Id must be provided. |
| INVALID_SEARCH_METADATA | Unable to search document. Search metadata must be provided. |
| EMPTY_DOCUMENT_GROUP | Cannot get documentGroup from the request header. |
| EMPTY_NEW_DOCUMENT_GROUP | New document group must be provided. |
| INVALID_DOCUMENT_GROUP | The provided document group is invalid. |
| INVALID_OWNER_SYSTEM_ID | Invalid ownerSystemID. |
| INVALID_FILE_NAME | File name is invalid. |
| EMPTY_REQUEST_PARAMS | Request params is empty. |
| EMPTY_OWNER_SYSTEM_ID | The header must contain ownerSystemID. |
| EMPTY_CHANNEL_ID | Channel is mandatory in ownerSystemEntity. |
| EMPTY_OWNER_SYSTEM_NAME | Owner system name can't be empty in OwnerSystemEntity: xxx |
| EMPTY_NEW_OWNER_SYSTEM_ID | New owner system ID must be provided. |
| INVALID_NEW_OWNER_SYSTEM_ID | New owner system ID is invalid. |
| EMPTY_MIME_TYPE | Empty mime type. |
| EMPTY_FILE_CONTENT_AND_LOCATION | Both file content and temporary shared location are empty. At least one must be provided. |
| PROVIDED_FILE_CONTENT_AND_LOCATION | Both file content and temporary shared location are provided. Only one need to be provided. |
| FAILED_TO_READ_FILE_FROM_TEMP_LOCATION | Unable to read file from temporary location(xxx). |
| MIMETYPE_DOES_NOT_MATCH_FILE_CONTENT | The mimetype does not match file content. |
| ERROR_GETTING_FILE_EXTENSION | File extension does not match file mimetype. |
| MIMETYPE_FILE_EXTENSION_MISMATCH | File extension does not match file mimetype. |
| FILE_HAS_NO_EXTENSION | File has no extension. |
| EMPTY_USER_ID | Cannot get userID from the request header. |
| ERROR_PROCESSING_VIRUS_FOUND_BUSINESS_EVENT | Error processing virus found business event. |
| EMPTY_DOCUMENT_DETAILS | Document details must be provided. |
| EMPTY_DOCUMENT_UPDATE_DETAILS | Document update details must be provided. |
| INVALID_UPDATE_ACTION | Invalid or empty update action. |
| NOT_PERMITTED_DELIVERY_ACTION | The delivery action can only be applied to document belongs to infinity channel. |
| SEARCH_KEY_ALREADY_EXISTS | Metadata search key already exists. |
| EMPTY_CATEGORY_FIELD | Cannot get categories from the request body. |
| NOFOUND_CATEGORY_ID | Evidence category ID not found. |
| EXISTING_EVIDENCE_CATEGORY | Evidence category with the same ID already exist in the system. |
| EMPTY_EVIDENCE_TYPE_FIELD | Cannot get typeID from the request body. |
| EXISTING_EVIDENCE_TYPE | Evidence type with the same ID already exist in the system. |
| NO_RECORD_FOUND | No records found in DB. |
| EVIDENCE_NOT_ACCEPTED_BEFORE | Evidence not accepted before. |
| INVALID_APP_FULFILMENT_ID | Invalid appFulfilmentID, record not found in DB. |
| CAN_DELETE_ONLY_SUBMITTED_EVIDENCE | Only submitted evidences can be deleted. |
| UNABLE_TO_UPDATE_PARTY_EVIDENCE | UNABLE_TO_UPDATE_PARTY_EVIDENCE. |
| EMPTY_OWNER_TYPE | EMPTY_OWNER_TYPE. |
| EVIDENCE_FULFILLMENT_MISMATCH | Evidence does not belong to the application fulfillment. |
| EMPTY_FIELD | Cannot get category description from the request body. |
| EXISTING_TYPE_FOUND | Evidence type entity found for category. |
| ENTER_APPLICATION_ID | Enter Application ID. |
| ENTER_OWNER_ID | Enter Owner ID. |
| ENTER_OWNER_TYPE | Enter Owner Type". |
| ENTER_EVIDENCE_CATEGORY | Enter Evidence Category. |
| INVALID_EVIDENCE_CATEGORY | Invalid Evidence Category. |
| ENTER_EVIDENCE_TYPE | Enter Evidence Type. |
| INVALID_EVIDENCE_TYPE | Invalid Evidence Type. |
| INVALID_ACTION | Invalid action Value: |
| EMPTY_REQUEST_BODY | Empty Request Body. |
| EVIDENCE_TYPE_CATEGORY_MISMATCH | Evidence type does not belong to Evidence category. |
| INVALID_STATUS | Cannot add documents for this Evidence. |
| CANNOT_DELETE_EVIDENCE_DOCUMENT | Cannot delete evidence document. |
| CANNOT_GET_EVIDENCE_DOCUMENT | Cannot get evidence document. |
| CANNOT_UPDATE_EVIDENCE_DOCUMENT | Cannot update evidence document. |
| CANNOT_CLONE_EVIDENCE_DOCUMENT | Evidence already submitted for given requirement and type. |
| DUPLICATE_ENTRY | Duplicate requirement item. |
| EVIDENCE_TYPE_NOT_SUPPORTED | Evidence type not supported for requirement. |
| INVALID_PROPERTY | INVALID_PROPERTY. |
Field Name
|
Application/Table name
In this topic