Errors — Storage
Numeric codes follow domain × 10,000 + category × 100 + ordinal ( see defineErrors in the Cognis domain package). The Message key column is the stable key returned in API payloads; the Message column shows the copy for your current locale (same resolution as the product UI).
| Code | Key | HTTP | Category | Message key | Message |
|---|---|---|---|---|---|
| 40101 | FIELD_NAME_REQUIRED | 422 | Validation | attachment.errors.fieldNameRequired | Field name for file upload is required. |
| 40102 | FIELDS_REQUIRED | 422 | Validation | attachment.errors.fieldsRequired | Fields for file upload are required. |
| 40103 | UPLOAD_TYPE_REQUIRED | 422 | Validation | attachment.errors.uploadTypeRequired | Upload type for file upload is required. |
| 40104 | FILE_REQUIRED | 422 | Validation | attachment.errors.fileRequired | File for file upload is required. |
| 40105 | FILES_REQUIRED | 422 | Validation | attachment.errors.filesRequired | Files for file upload are required. |
| 40106 | FILE_TOO_LARGE | 422 | Validation | attachment.errors.fileTooLarge | File is too large. |
| 40108 | INVALID_FILE_TYPE | 422 | Validation | attachment.errors.invalidFileType | Invalid file type. |
| 40109 | FILE_VALIDATION_FAILED | 422 | Validation | attachment.errors.fileValidationFailed | File validation failed. |
| 49907 | FILE_UPLOAD_ERROR | 500 | Internal | attachment.errors.fileUploadError | Failed to upload file. |